JACKSONVILLE, N.C. (AP) — A former Marine has pleaded guilty to charges connected to a woman's death in North Carolina in 2012.

Local media outlets report Larry Forrest pleaded guilty in an Onslow County court on Wednesday to second-degree murder, attempted robbery with a dangerous weapon and armed robbery. His plea was part of a deal with the district attorney's office.

Forrest was sentenced to almost 36 years in prison. He was given credit for time served while awaiting trial.

Forrest was charged in the fatal shooting of 65-year-old Kim Hua Flournoy outside a Bingo hall on Dec. 30, 2012. Police said Forrest shot Flournoy in the face and grabbed her purse while a second Marine drove the getaway car.