VIRGINIA BEACH, Va. — A man will spend 68 years in prison for his role in the slaying of an undercover Virginia Beach police detective.

Media outlets report that 30-year-old Marshall Demetrius Moyd was sentenced Wednesday in Virginia Beach Circuit Court.

A jury convicted Moyd last October on first-degree murder and weapons charges.

Prosecutors say Moyd arranged a drug deal with undercover Detective Michael Phillips on Aug. 7, 2008. Co-defendant Ted Vincent Carter fatally shot the officer.

Carter pleaded guilty to capital murder in 2010 and is serving a life sentence without parole.