The
Brexit withdrawal agreement, officially titled
Agreement on the withdrawal of the United Kingdom of Great Britain and Northern Ireland from the European Union and the European Atomic Energy Community, is a treaty between the European Union (EU), Euratom, and the United Kingdom (UK), signed on 24 January 2020, setting the terms of the withdrawal of the UK from the EU and Euratom. The text of the treaty was published on 17 October 2019, and is a renegotiated version of an agreement published half a year earlier. The earlier version of the withdrawal agreement was rejected by the House of Commons on three occasions, leading to the resignation of Theresa May as Prime Minister and the appointment of Boris Johnson as the new prime minister on 24 July 2019.