In 1639, the legislature was installed in the newly built Parliament Hall, where it remained until dissolution in 1707. Victory the same year in the early stages of the 1639–1652 War of the Three Kingdoms brought the Covenanters to power, with bishops being expelled from both kirk and Parliament. Control of the executive was taken from the Crown, many of the constitutional changes being copied by the English Parliament.