Under the Fixed-term Parliaments Act 2011 an election had not been due until May 2020, but a call by Prime Minister Theresa May for a snap election was ratified by the necessary two-thirds vote in a 522–13 vote in the House of Commons on 19 April 2017.