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 He planned the reorganization of the Mines of Potosi, and a reform at the University of Charcas. He proclaimed the end of native slavery in the Upper Peru, canceling the tutelage and giving them political rights as neighbors, equal to those of the criollos. He prohibited as well the establishment of new convents and parishes, to avoid the common practice that, under the guise of spreading the Christian doctrine, the natives were forced into servitude by religious orders. He authorized free trade and redistributed land expropriated from the former workers of the mills. The decree was published in Spanish, Guarani,