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
Bernardo Quintana Arrioja his memory. Quintana has not only received various honors, he has had one named after him. Presea "Ing. Bernardo Quintana Arrioja" 2010, which has as object the reward and to recognize publicly the pupils which for his student path and personal merits stood out for the following qualities: leadership, patriotism, service, value and academic excellence. Bernardo Quintana, died on 12 August 1984 his remains were moved to the Rotonda de los Hombres Ilustres. In 2005, the government of Vicente Fox issued a decree to allow the inclusion of Bernardo Quinta Arrioja into Rotonda of the Illustrious Persons. The cemetery contains