Viceroyalty of Peru on July 21, 1821. The independence of Peru was proclaimed on July 28, 1821. Viceroy José de la Serna e Hinojosa, still in command of a sizable military force, retired to Jauja, and later to Cusco. On July 26, 1822, San Martín and Simón Bolívar met in Guayaquil to define a strategy for the liberation of the rest of Peru. The meeting was secret, and exactly what occurred is not known. However, afterwards San Martín returned to Argentina while Bolívar prepared to launch an offensive against the remaining royalist forces in Peru and Upper Peru (Bolivia). In September 1823 Bolívar
Protectorate of Peru this, Peru remained strongly royalist and participated in the political reforms implemented by the Cádiz Cortes (1810–1814), despite Abascal's resistance. Peru was represented at the first session of the Cortes by seven deputies and local cabildos (representative bodies) became elected. Therefore, Peru became the second to last redoubt of the Spanish Monarchy in South America, after Upper Peru. Peru eventually succumbed to patriot armies after the decisive continental campaigns of José de San Martín (1820–1823) and Simón Bolívar (1823–1825). Some of the early Spanish conquistadors that explored Peru made the first attempts for independence from the Spanish crown. They tried