After months of arduous negotiations, a general election disaster for the Conservatives, and a procession of Hard Brexit MPs (and now a few Remainers) heading to the exits, a final text has finally been agreed upon.

In the end, the May government was unable to budge EU negotiators from longstanding red lines on the customs union and the Ireland border.

Here are a few details that have trickled out; the final text is yet to be made public, and is believed to weigh in at over 500 pages: