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
Scotland under the Commonwealth and were defeated by the New Model Army under Oliver Cromwell at Battle of Preston (1648). With many of its leaders captured, the Engagement regime fell in the Whiggamore Raid and the radical Presbyterian Kirk Party returned to power. After the execution of Charles I in January 1649, England was declared a Commonwealth. As soon as news of Charles I's execution reached Scotland, his son was proclaimed king as Charles II of Great Britain by the Scottish Parliament. After the failure of an attempted Highland rising led by James Graham, Marquis of Montrose, Charles accepted the offer of conditional support