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 de Legarda Bernardo de Legarda Bernardo de Legarda (c. 1700 – 1 June 1773) was an Ecuadorian sculptor and painter who exemplified the Quito School movement. Legarda was a mestizo artist and the one who best personified the art of sculpture in the capital of Quito during his period. His first artwork dated from 1731 when he restored an image of Saint Luke in the Church of Santo Domingo, after which he was much in demand. In 1732 he was commissioned to do a sculpture of the Immaculate Conception for the Church of San Francisco. This work, which became known as the