An ex-cop has confessed to the killing of a Mexican journalist, but claims he had been given orders by the mayor.

Moises Sanchez, from the Mexican state of Veracruz, was discovered inside a black trash bag in Veracruz just weeks after a group of gunmen kidnapped him, Mexico's Proceso Magazine reported, adding that the victim had been beheaded.

Since Sanchez, who had been a reporter of the La Unión newspaper, had been critical of the Mexican government, it is popularly believed that police officers had been behind the abduction earlier this month.

But now the main suspect, Clemente Noé Rodríguez Martínez, has reportedly stepped forward to accuse an area town mayor of having ordered the murder, according to Breitbart.

Earlier this month, Martínez and a group of other former cops kidnapped the reporter and killed him the same day that he went missing. The murder had been issued to the cops by Deputy Police Chief Martín López Meneses, who in turn issued the order under the instruction of Omar Cruz Reyes, the mayor of Medellin, Veracruz, he said.

In order to detain and question Cruz, Mexican authorities have now begun the legal procedures to strip him of the immunity that his office provided. If the accusations turn out to be true, Cruz would be the latest one on a growing list of Mexican politicians tied to murder.

Last year, Iguala city police attacked a group of students rallying to protest against government policies. Six people were killed, more than two dozen injured and more than 50 students vanished. About 15 eventually were found hiding in their homes, but 43 remained missing, the Los Angeles Times reported.

The Aytozinapa Normal school, attended by the missing students, was known for militant and radical protests that often involved hijacking buses and delivery trucks, according to Fox News.

Within days, 22 police officers were arrested for what prosecutors said was the unjustifiable use of excessive force. They are believed to have been penetrated by criminal organizations and a drug gang, known as the Guerreros Unidos, at whose behest the police might have been acting. Later in the investigation, it was alleged that the police had also acted under orders of the former Mayor Jose Luis Abarca and his wife, who have since been in custody.