(CNN) UK Prime Minister Boris Johnson has agreed a new withdrawal deal with the European Union, but still faces a huge challenge in getting it passed by Parliament.
Here is the full text of the deal.