On 23 June 2016, the UK made a referendum that asked whether the UK should leave the EU. The result was that 51.9% of the UK electorate (the main region of the UK) voted that the UK should leave the EU. The rest wanted the UK to stay in the EU. On 29 March 2017, the UK government said that they will definitely be leaving the EU. This started the procedure of Article 50 of the Treaty on European Union, a law that deals with countries that leave the EU. The UK was expected to fully leave the EU on 29 March 2019 at 11p.m. UTC. The deadline to leave was later changed to 31 October 2019.