Image copyright Getty Images

The UK government has published its long-awaited withdrawal agreement and supporting papers for leaving the EU.

The draft Brexit Withdrawal Agreement agreed by the Cabinet sets out the terms of the UK's "divorce" from the EU, over 585 pages. In addition, the EU and the UK published a joint political declaration on their future relationship, which sets out broad areas of future co-operation.

BBC editors and correspondents unpick the detail in the newly-published documents, and the reaction to it.

If you cannot view this article in full, click to launch the interactive content.