Bolivia–Spain relations and Antonio José de Sucre entered Peru and defeated the Spanish forces in the country. Soon afterwards, troops led by Antonio José de Sucre entered Upper Peru and fought against royalist forces. By 1825, Upper Peru was free from Spanish authority. Originally, Bolívar wanted Upper Peru to join either Peru or Argentina, however, the people of Upper Peru convinced Bolívar and Sucre to give autonomy to the territory and on 6 August 1825, an Upper Peruvian congress declared the country independent and renamed the territory "Bolivia" in honor of Simón Bolívar and named its capital "Sucre" in honor of Antonio
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