Spanish American wars of independence important change in strategy after three United Provinces campaigns had been defeated in Upper Peru. San Martín's army became the nucleus of the Army of the Andes, which received crucial political and material support in 1816 when Juan Martín de Pueyrredón became Supreme Director of the United Provinces. In January 1817, San Martín was finally ready to advance against the royalists in Chile. Ignoring an injunction from the congress of the Río de la Plata not to move against Chile, San Martín together with General Bernardo O'Higgins Riquelme, later Supreme Director of Chile, led the Army over the Andes in
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