Updated

A Peruvian commission that supervises the country's judicial system has dismissed the attorney general after an investigation into alleged ties with organized crime.

Attorney General Carlos Ramos Heredia had been suspended from his post since December pending the investigation involving allegations of corruption in Ancash province, which is Peru's richest mining region.

The National Judiciary Council said in a statement Wednesday that it ordered the formal dismissal of Ramos Heredia on a 5-1 vote.

The alleged corruption happened before Ramos Heredia became attorney general in May 2014. There was no immediate comment from Ramos Heredia.

Respected lawyer Pablo Sanchez has been interim attorney general since January.