The fallout from the controversial election of Carlos Ramos Heredia, cousin of the First Lady Nadine Heredia, as the new National Prosecutor General in April continues to rumble on. It has revealed itself in a high-profile clash between two of Peru’s most powerful judicial bodies: the Constitutional Tribunal (TC) and the National Magistrates Council (CNM).

A petition by two prosecutors who participated in the selection process to be named supreme prosecutors by the CNM (the organ that makes judicial appointments) have charged the CNM of acting improperly and manipulating the electoral process to ensure the nomination of the successful candidates: Zoraida Nora Avalos and Nora Miraval.

In a petition to the TC, one of the complainants, ex-prosecutor Mateo Castañeda, pointed to the written and curricular assessments as proof of the alleged irregularities. Both successful candidates were initially excluded from the second round, but a motion for reconsideration issued by the CNM reversed this decision by increasing the assessment scores of both candidates.

Notably, both Avalos and Miraval were instrumental in securing the controversial election of Ramos Heredia as National Prosecutor General. Without their votes, he would not have been elected.

In the midst of considerable political and public debate, the TC released its decision on 30 April, declaring the appointment of both prosecutors as void, owing to the flawed nomination process. In addition, the TC ordered the CNM to instate the petitioner, Castañeda, as a supreme prosecutor – setting up a serious confrontation with the CNM.

For her part, Avalos presented her own petition to the TC seeking to nullify its earlier resolution, claiming that her right to defence had been violated. She has accused the TC of nullifying her election for political reasons, stating: “I feel that they have sentenced me for voting for Ramos Heredia.”

Responding to growing political pressure, the TC backtracked on 9 May, declaring its first resolution void and ratifying the appointment of both Avalos and Miraval. This followed a legal challenge by the CNM accusing the TC of acting unconstitutionally in exercising jurisdiction over appointments.

For its part, the President of the TC, Óscar Urviola Hani, has strenuously rejected the charge that the original resolution was a response to public opinion. It was, in his words, the legitimate exercise of constitutional control mechanisms.