What happens now that a deal's been done?published at 18:49 Greenwich Mean Time 30 December 2020
The UK and EU begin a new relationship on 1 January 2021.
Read MoreEuropean Commission president Jean-Claude Juncker says "sufficient progress" has been made in Brexit talks
Theresa May says the stage-one deal would ensure "no hard border" in Ireland
The UK's estimated divorce bill will be between £35bn and £39bn
Cabinet ministers praise the PM's "remarkable" achievement
But UKIP's Nigel Farage says it is "humiliating" for her
Labour leader Jeremy Corbyn says there has been no real breakthrough
EU negotiator Michel Barnier calls it is a "turning point" but warns of hard work ahead
Gavin Stamp
The UK and EU begin a new relationship on 1 January 2021.
Read MoreArlene Foster warns "more work to do" on NI while the Irish PM says the Republic has achieved its aims.
Read MoreIt's been more than 12 hours since Theresa May boarded a flight to Brussels to put her seal on an agreement that she hopes will give the Brexit process a huge push forward to its next stage.
Let's recap on the main developments.
Theresa May is expected to brief MPs on the agreement in the Commons on Monday. In the meantime, follow the BBC for reaction to this breakthrough moment over the weekend.
BBC Ireland correspondent Chris Buckler says the skillful drafting of the Brexit document has left all sides claiming victory.
But have some of the key questions about the Irish border merely been "kicked down the road"?
Britain will be able to carry out criminal record checks, should it wish, on EU nationals seeking to stay in the country after Brexit.
The government has said it wants applicants for settled status to have to declare any criminal convictions and for the authorities to be able to check UK databases and, in certain cases, verify international records.
The UK's position was initially met with resistance in Brussels but ministers believe that they have got their way over the issue in Friday's agreement.
The document, released earlier, says: "Systematic criminality and security checks can - in the specific context of acquiring status under the Withdrawal Agreement - be carried out on all applicants for status under the agreement and applicants can be asked to declare criminality."
There's been a bit of a kerfuffle about that picture of Boris Johnson visiting Downing Street yesterday, which was tweeted by chief whip Julian Smith.
He said it was taken "last night" but some eagle-eyed observers spotted the clock on the No 10 mantelpiece, which indicated that it was actually the middle of the afternoon.
It has now been confirmed that the shot was taken at 16.30 GMT.
Does all this really matter? In the scheme of things probably not.
But given Tory fault-lines over Brexit and the feverish atmosphere in the party, the extent of the foreign secretary's involvement in the negotiations and at what stage he was briefed is fascinating to the kremlinologists.
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
BBC Radio 5 live
Former Irish prime minister Bertie Ahern has told the BBC that Theresa May has been negotiating in good faith and that the government in Dublin has clearly received new guarantees from Downing Street when it comes to the border.
Quote MessageThey recognise that she's given very firm guarantees and I think this certainly allows the negotiations to go on. But, you know, we could be still here this time next year arguing about some of the detail."
Bertie Ahern, Former Irish prime minister
BBC News Channel
It's fair to say Conservative MP Anna Soubry has not been one of Theresa May's greatest cheerleaders in the past, having called for her to go after June's general election result.
But she is positively gushing in her praise of the PM today, saying she has shown strong leadership and "put her mark" on the first-phase agreement.
Quote MessageShe has stood up and she has not been found to be wanting at all."
Anna Soubry
Remember... the European Parliament has to give its backing to the final deal. Its Brexit coordinator, Guy Verhofstadt, seems to have set some conditions before the parliament will give its blessing to the proposals for citizens' rights.
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
The 3 million, which lobbies on behalf of citizens from other EU countries living in the UK, says Friday's agreement is a "flawed compromise".
While welcoming some concessions, its chair Nicolas Hatton says too many guarantees are time-limited and many people who have made the UK their home are still "in the dark" about whether they will qualify for settled status.
"Our rights should not have an expiry date," he says. "More worryingly, there is still no clarity around the registration criteria for these rights."
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Imogen Foulkes
BBC News, Geneva
During his trip to Geneva for a UN debate on human rights, Jeremy Corbyn was asked several times whether Labour thought staying in the single market and the customs union was the best or most realistic option for Britain.
He said he had made it "very clear that we are leaving the EU" and that Labour's policy was tariff-free trade. "Lots of jobs depend on it…it is essential that we maintain and defend those jobs".
However he would not specify how Labour thought tariff-free access could be achieved.
He dismissed Nicola Sturgeon's call for Labour to join forces with the SNP to campaign for a Brexit which involved remaining inside the single market and the customs union, saying that staying in was "not a necessary scenario", adding "we will be making our own case, she can make hers".
Sinn Fein has given a "cautious and qualified" welcome to the agreement on the Irish border although party president Gerry Adams said it was a "work in progress" and many questions remained to be answered.
The devil remained in the detail, he said, and the Irish government must "remain vigilant" as talks progressed to the next stage.
Quote MessageWhile the communique recognises the unique and special circumstances surrounding the issue of the Irish peace process and the border, it does not address key areas of concern for many citizens - especially nationalists living in the north and citizens in the border region. The insistence by the British that Britain and the north must leave the customs union and the single market presents a real and live danger which cannot be understated."
This is a few hours old but we think it is worth sharing even now.
The UK's top civil servant, Sir Jeremy Heywood, earlier described Friday's first-phase agreement as a "vital milestone" in the Brexit process.
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Conservative Chief Whip Julian Smith has posted a picture of the Foreign Secretary speaking to Theresa May at Number 10 last night.
Mr Smith says Boris Johnson was there for a "quick update" on the Brexit talks, which lasted most of the night, as did the Downing Street Christmas party, coincidentally.
Was Mr Johnson multitasking?
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Kamal Ahmed
Economics editor
Reading the joint report between the UK and the EU, it is clear that the most important section when considering the economics of Brexit is the section on Ireland.
The document commits both sides to an open border between Northern Ireland and the Republic, and that there will be "no new regulatory barriers" between Northern Ireland and the rest of the UK.
It also commits to the UK leaving the EU's single market and customs union.
These two positions appear to be in contradiction.
If Britain does become a "third country" - that is trading with the EU as other non-EU countries outside the single market and the customs union do - then border controls will be necessary.
And that open border will become very much more closed. There is at least a partial way around this conundrum. Read more from Kamal
Labour leader Jeremy Corbyn has been speaking about Friday's Brexit agreement during a visit to the United Nations in Geneva.
Asked if he thought it represented a significant breakthrough, he said "no" and suggested he wanted more clarity on how long the UK will stay in the customs union as well as protection for workers, consumer and environmental rights.
Many of Friday's details, including the residency guarantee for EU citizens, could have been settled almost nearly 18 months ago, he suggests.
"This could have been done some time ago...The referendum took place in 2016. This is the first sign of movement since then."
Labour, he says, wants long-term tariff-free access to EU markets for British businesses.
"It is essential we protect and defends these jobs," he adds.
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Allow Twitter content?
This article contains content provided by Twitter. We ask for your permission before anything is loaded, as they may be using cookies and other technologies. You may want to read Twitter’s cookie policy, external and privacy policy, external before accepting. To view this content choose ‘accept and continue’.
Most Brexit-suppporting Tories seem to be happy about what's been agreed although some are picking the odd hole in the documents.
Former Welsh Secretary David Jones is worried about the implications if there is no agreement on how cross-border trade in Ireland is regulated.
In such a scenario, he tells Radio 4's World at One the UK will be fully aligned to existing EU single market rules relating to North-South co-operation - a situation he thinks would hamper efforts to strike trade deals with other countries after the UK leaves.
Quote MessageThe worry about that is of course that it could relate to very important areas such as, for example, agriculture which we would want to throw into the mix in negotiating a free trade agreement with a third country. And if this was to persist it could severely handicap our ability to enter into those free trade agreements so I think we do need to see that particular provision refined."
Are you one of the three million or so citizens of other EU countries currently living in the UK worried about their future?
Here's an explainer of what's been agreed and what it means for you.
In summary, EU and UK citizens will have free movement of rights until the day the UK withdraws from the EU - 29 March 2019.
This, in effect, is the cut-off date for EU citizens moving to the UK. Anyone who arrives before Brexit day will have the right to stay.
Those who are yet to be granted permanent residency in the UK will have their rights protected, so they can still acquire it after withdrawal.
The latest deal also includes reunification rights for relatives who do not live in the UK, to join them in the future.