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
First Upper Peru campaign to Vieytes, Rodriguez Peña, Larrea and Azcuénaga, asking them to move to the Upper Peru. After the defeat of Goyeneche, they would march back to Buenos Aires. However, the mail was sent by the common postal service, and the postmaster of Córdoba, Jose de Paz, decided to send it instead to Cornelio Saavedra. Besides, the morenist members of the Junta had already been ousted and exiled by that point. The order of the Junta not to proceed to the Viceroyalty of Peru was a de facto truce that would last while not attacking Goyeneche. Castelli tried to turn the situation