The United Kingdom invoked Article 50 of the Treaty on the European Union on 29 March 2017 following a referendum on 23 June 2016 to leave the European Union. As a result, the country was due to leave the EU on 29 March 2019, before the European Parliament elections took place. Nonetheless, on 27 May 2018, it was reported that the UK's Electoral Commission had set aside £829,000 for its "activities relating to a European Parliamentary election in 2019". The Commission described the money as a "precautionary measure, so that we have the necessary funds to deliver our functions at a European Parliamentary election, in the unlikely event that they do go ahead".