President of Peru Martín), and "Supreme Protector" (by Andrés de Santa Cruz). The following table contains a list of the individuals who have served as President of Peru. The Protectorate of Peru existed from August 3, 1821 until September 20, 1822. The Republic of Peru was declared on July 28, 1821 but it was constituted on September 20, 1822. It existed until August 11, 1836. In 1836, the south of the country declared itself independent by creating the Republic of South Peru, while the north of the country became the Republic of North Peru. The two states confederated with the Republic of Bolivia
First Upper Peru campaign decline, mainly due to the favourable treatment of natives and the determined opposition of the church, which attacked Castelli through his secretary Bernardo Monteagudo and his public atheism. Both royalists in Lima and Saavedra in Buenos Aires compared them both with Maximilien Robespierre, leader of the Reign of Terror of the French Revolution. Castelli also abolished the mita in Upper Peru, a project that was shared by Mariano Moreno, but Moreno had been removed from the Junta by this point. Without Castelli being in Buenos Aires to mediate between them, the disputes between Moreno and Saavedra had worsened. The Junta