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 Brito Bernardo de Brito Friar Bernardo de Brito (20 August 1569 – 27 February 1617) was a Portuguese monk and historian. He is perhaps best known for having authored the first two volumes of "Monarchia Lusytana", his "magnum opus". Friar Bernardo de Brito was born Baltasar de Brito e Andrade, in the fortified village of Almeida in 1569. His father, Pedro Cardoso de Andrade, was a distinguished army captain who fought in Italy and Flanders who was killed in action during the Siege of Antwerp; his mother was Maria de Brito e Andrade, the sister of Rui de Andrade Freire, "alcaide"