Sections 24 and 25 of the Succession to the Crown Act 1707 listed ministerial offices as offices of profit. When an MP became a government minister, including Prime Minister, they also lost their seat in the House of Commons. Therefore, Ministers were required to regain their seats in Parliament by winning a ministerial by-election. The "Re-election of Ministers Act 1919" made it unnecessary to be re-elected within nine months of a general election, and the Act was amended in 1926 to abolish ministerial by-elections.