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
Brazil–Peru border infrastructure, cooperation (mainly in social and security issues), border integration and economic-trade integration. In the field of physical integration, once the Interoceanic Highway, which connects the State of Acre with the Pacific and inaugurated in 2011, the two countries started to study a Bioceanic Railroad project, object of a Brazil-Peru-China Memorandum of Understanding signed In May 2015. These projects are strategic for the integration of the economies of the North and the Midwest of Brazil to Peru and the Pacific. Brazil–Peru border The Brazil–Peru border is the line, located in the Amazon Rainforest, that limits the territories of Brazil and