CHARLOTTESVILLE, Va. (CBS19 NEWS) -- An Albemarle County man has been sentenced to prison in connection with a 2023 shooting.

Nasir Floyd McGhee was sentenced to 10 years in prison on Thursday.

He pleaded guilty to a voluntary manslaughter charge in March.

Originally, McGhee was charged with second-degree murder, malicious wounding, and use of a firearm in the commission of a felony for the shooting death of Justice Kilel at the Sunshine Minimart on Cherry Avenue.

Those charges were reduced as part of his plea deal.

“While Mr. McGhee was not the individual who ultimately possessed a firearm or fired the lethal shots," said Commonwealth's Attorney Joe Platania, "his participation in this violent attack warranted a conviction and a significant prison sentence that reflected the severity of the choices he made.”

Orlando Allen, who was 17 years old at the time of the shooting, pleaded guilty to second-degree murder and use of a firearm in the commission of a felony in February.

He is scheduled to be sentenced on July 23.

Kilel, a Gordonsville resident, was in the market on March 4, 2023, when McGhee and Allen came in and assaulted him. During the assault, Kilel was shot and killed.