Although the United Kingdom was supposed to leave the European Union on March 29,2019 , the deal which Theresa May secured proved so unpopular it was rejected by the House of Commons three times between January and March 2019 .