All 27 European Union leaders signed off Britain's Brexit deal, at a crucial summit in Brussels on Sunday, European Council president Donald Tusk said.
Tusk tweeted that all members had backed the Withdrawal Agreement and Political Declaration on the future EU-UK relations.
On the eve of the summit, Prime Minister Theresa May wrote a letter to the British public urging them to back her Brexit deal.
While May wrote that the deal guaranteed a "brighter future" for the United Kingdom, the mood among EU leaders was less optimistic, with European Commission President Jean-Claude Juncker describing Britain's exit from the bloc as "a tragedy."
Spain had threatened to derail the summit after last-minute disagreements over Gibraltar -- a British territory on the Iberian Peninsula -- but these were resolved in negotiations Saturday.
After the EU's endorsement of the deal, it now goes to the UK Parliament for a vote.
But given that opposition parties -- not to mention many lawmakers within May's Conservative party and the Northern Irish DUP, which supports her minority government -- have indicated they'll vote against it, the deal's biggest test is yet to come.
Developing story, more details to come
- EU leaders approve Brexit deal
- E.U. Leaders back Brexit deal
- EU leaders endorse Brexit deal at special summit
- UK and EU strike Brexit transition deal
- EU rules out renegotiating Brexit deal (again)
- EU leaders agree to second stage of Brexit talks
- EU leaders prepared to extend UK's Brexit transition period
- May to address EU leaders as Tusk warns no-deal Brexit 'more likely than ever'
- EU tells May Brexit deal not up for renegotiation as wounded UK leader seeks lifeline
- Brexit: Desperate May to meet with Merkel, but EU leaders warn no renegotiation of deal