During the English Civil War (1642–1649), the English Parliament raised armies in an alliance with the Covenanters who by then were the de facto government of Scotland, against the forces of Charles I, King of England, Scotland and Ireland. The purpose of the Westminster Assembly, in which 121 Puritan clergymen participated, was to provide official documents for the reformation of the Church of England. The Church of Scotland had recently overthrown the bishops imposed by the King and reinstated presbyterianism (see Bishops' Wars). For this reason, as a condition for entering into the alliance with the English Parliament, the Scottish Parliament formed the Solemn League and Covenant with the English Parliament, which meant that the Church of England would abandon episcopalianism and consistently adhere to Calvinistic standards of doctrine and worship. The Confession and Catechisms were produced in order to secure the help of the Scots against the king.