Gran Colombia–Peru War was the kernel of Bolívar's grander scheme to unite the former Spanish colonies in Central and South America. Prior to becoming the titular head of Gran Colombia, Bolívar had been, briefly, the president of the newly independent state of Bolivia, his namesake. Bolivia had formerly been a part of the Viceroyalty of the "Rio de La Plata", known as Upper Peru, and, once Bolívar relinquished the presidency of Bolivia to his revolutionary compatriot, Antonio José de Sucre Alcalá, in 1826, the Peruvians saw an opportunity. Early in 1828, Peru launched a campaign against Bolivia to reclaim its former territory and
History of Peru since most of the presidents that ruled the country were from the social elite. During Augusto B. Leguía's periods in government [1908–1912 and 1919–1930, the latter known as the "Oncenio" (the "Eleventh")], the entrance of American capital became general and the bourgeoisie was favored. This policy, along with increased dependence on foreign investment, focused opposition from the most progressive sectors of Peruvian society against the landowner oligarchy. There was a final peace treaty in 1929, signed between Peru and Chile and called the Treaty of Lima by which Tacna returned to Peru and Peru yielded permanently the formerly rich provinces