Aaron Hernandez's alleged accomplice in the killing of Odin Lloyd has lost in his attempt to dismiss murder charges filed against him in the case.

NESN reports a Massachusetts judge has denied an appeal by Carlos Ortiz that sought to dismiss the indictment previously lodged against him.

Lloyd's bullet-riddled body was found not far from Hernandez's North Attleborough mansion in the summer of 2013. The former NFL star has since been found guilty of first-degree murder in the killing and has been sentenced to a life sentence without the possibility of parole.

In addition to Ortiz, Ernest Wallace has also been charged with murder in the case, and, like Ortiz, is still awaiting trial.

Now being held at the Souza-Baranowski maximum security prison, Hernandez is also facing double murder charges in the 2012 drive-by shootings of two men outside a downtown Boston nightclub in the summer of 2012.

Safiro Furtado and Daniel de Abreu were gunned down while waiting at a red light after one of them accidentally spilled a drink on Hernandez earlier in the evening and failed to apologize.

Hernandez has plead not guilty in the case, and earlier this month a judge granted a motion filed by his attorneys seeking to have the case postponed from its initially scheduled January start date.

More recently, Hernandez was moved to a more restricted area of the prison, after a search of his cell turned up a homemade shank.

During a recent court appearance, Hernandez went before the judge sporting a new jailhouse neck tattoo, which some have speculated is an indication of gang affiliations behind bars.

Just before being taken into custody in connection with the Lloyd killing, Hernandez had inked a $40 million extension with the New England Patriots as one of star quarterback Tom Brady's favorite targets.