Viceroyalty of Peru arrived in Lima with Antonio José de Sucre to plan the offensive. In February 1824 the royalists briefly regained control of Lima. Olañeta's Rebellion started by surprise and the entire royalist army of Upper Peru (today's Bolivia) revolted, led by Pedro Antonio Olañeta (royalist) against La Serna, the viceroy of Peru (a liberal). This broke the royal army and started a civil war in Upper Peru. Having regrouped in Trujillo, Bolívar in June led his rebel forces south to confront the Spanish under Field Marshal José de Canterac. The two armies met on the plains of Junín on August 6,
Constituent Congress of Peru, 1822 Constituent Congress of Peru, 1822 The Constituent Congress of Peru, 1822 was the first democratically elected institution in Peru. Its members, called deputies, were appointed by popular election called by the liberator José de San Martín, who then exercised power as Protector of Peru. The main task of this meeting was to give the Republic of Peru its first constitution, which was the liberal constitution of 1823. Also, before the retirement of San Martín, presented the Executive to three members, who formed a collegial body called the Supreme Governing Board and whose head was General José de la Mar. subsequently