Exasperated by Charles' intransigence and the prolonged bloodshed, the New Model Army purged the English Parliament and established the Rump Parliament, which had Charles tried for treason against the English people. He was executed on 30 January 1649, and the republican Commonwealth was created. The Scottish Parliament, which had not been consulted prior to the King's execution, declared his son, also Charles, king of Britain. Charles II was initially reluctant to accept the conditions attached to this declaration, but after Cromwell's campaign in Ireland crushed his Royalist supporters there, he felt compelled to accept the Scottish terms. The Scottish Parliament set about rapidly recruiting an army to support the new king, under the command of the experienced general David Leslie.