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 into a formal agreement, which would imply recognition of the Junta as a legitimate interlocutor. Goyeneche agreed to sign an armistice for 40 days until Lima was issued, and used that time to be strengthened. On 19 June, with the truce still in effect, an advanced royalist troop attacked positions at Juraicoragua. Castelli declared the truce broken and declared war on Peru. The royalist army crossed the Desaguadero on June 20, 1811, starting the Battle of Huaqui. The Army waited near Huaqui, between the plains of Azapanal and Lake Titicaca. The patriotic left wing, commanded by Diaz Velez, faced the