A 22-year-old Baton Rouge man was sentenced to 25 years in prison after pleading guilty this week in the December 2011 shooting death of another man on Bellonia Drive.

Joshua Edward Dixon was scheduled to stand trial Monday on a second-degree murder charge in the slaying of Jarret Lacey, but he pleaded guilty to the lesser charge of manslaughter.

Dixon, who was 19 at the time of the killing, faced a sentence of life in prison if convicted as charged. Manslaughter is punishable by up to 40 years in prison.

“We did what was in his best interest,” Dixon’s attorney, Robert Tucker, said Wednesday. He added that Dixon had not run afoul of the law prior to the shooting.

Police have said the killing was the result of an ongoing dispute between the two men.

Tucker said Dixon was the victim of bullying.

State District Judge Beau Higginbotham sentenced Dixon under the terms of a plea agreement.