After defeat in the 1647–1648 Second English Civil War, Scotland was occupied by English troops which were withdrawn once the so-called Engagers whom Cromwell held responsible for the war had been replaced by the Kirk Party. In December 1648, Pride's Purge confirmed Cromwell's political control in England by removing Presbyterian MPs from Parliament, and executing Charles in January 1649. Seeing this as sacrilege, the Kirk Party proclaimed Charles II King of Scotland and Great Britain, and agreed to restore him to the English throne.