Battle of Ayacucho own. The royalists in each viceroyalty, however, took different paths. In New Spain, royalists, after defeating the insurgents, proclaimed a negotiated separation from Liberal Spain through the Plan of Iguala, which they negotiated with the remaining patriots, and the Treaty of Córdoba, which they negotiated with the new head of government, Juan O'Donojú. In Peru Viceroy Joaquín de la Pezuela was discredited after a royalist expedition to Chile under Mariano Osorio was defeated and advances in Peru were made by José de San Martín. The viceroy was overthrown on 29 January 1821, in Asnapukyu "(Aznapuquio)", in a coup by General
Battle of Paraguarí Battle of Paraguarí The battle of Paraguarí took place on January 19, 1811, in Paraguarí (Paraguay), between the patriot army led by Manuel Belgrano and the Royalist army located in Paraguay led by Bernardo de Velasco. The battle would end with a Paraguayan victory; but it boosted confidence in the local population to declare themselves independent from both Buenos Aires patriots and royalists months later. At the outbreak of the May Revolution in Buenos Aires, capital of the Viceroyalty of the Río de la Plata, the government emerged from it, called (in Spanish) "Junta Provisional Gubernativa de las Provincias del