JACKSONVILLE, Fla. -- Two men were sentenced Tuesday to prison terms in the 2011 robbery and death of a 20-year-old man.

Antoni Knight and William Holmes, both 21 years old, each plead guilty earlier this year to the Murder in the Second Degree and Armed Robbery of Antwan Johnson, according to a release from the State Attorney's Office.

Holmes got 26 years in prison and Knight got 46 years.

Jacksonville Sheriff's Office Lt. Rob Schoonover told First Coast News in 2011 that Holmes told detectives he intended to rob Johnson, stealing 1 ounce of marijuana and $10 from him.

Holmes also told police at the time Knight shot Johnson, who was sitting in the driver's seat of his car.

Holmes said he helped move the body to the passenger seat, and Knight and a third suspect, 20-year-old Frederick Demond Johnson, drove away, returning to tell Holmes they had dumped the body in a ditch then burned his car at a church.

The case against Frederick Johnson is pending, according to the release.