The United Kingdom leaves the European Union at 2300 GMT on Friday, ending its 47-year membership of the world's biggest trading bloc.
Reactions from leaders in Britain, and from around the world, were a mix of joy, resolve, sadness and resignation.
British Prime Minister Boris Johnson
"Our job as the government – my job – is to bring this country together and take us forward," Johnson said in a statement.
"And the most important thing to say tonight is that this is not an end but a beginning. This is the moment when the dawn breaks and the curtain goes up on a new act. It is a moment of real national renewal and change."
British opposition labour leader Jeremy Corbyn
"Britain's place in the world will change. The question is what direction we now take," Corbyn said in a statement.
"We can build a truly internationalist, diverse and outward-looking Britain. Or we can turn inwards, and trade our principles, rights and standards to secure hastily arranged, one-sided, race-to-the-bottom trade deals with Donald Trump and others."
Nigel Farage, leader of the brexit party, on twitter
"Happy Brexit Day! ... At last the day comes when we break free. A massive victory for the people against the establishment....11 pm tonight marks the point of no return. Once we Leave, we will never rejoin the European Union. Time to celebrate."
Carl Bildt, former swedish prime minister
"It was in 1962 Dean Acheson famously said that Britain had 'lost an empire, and failed to find a role.' A decade later, it found a European role, made a success of it, but decided to throw it away half a century later. And now? No one really knows. It's back to square one."
Donald Tusk, ex-president of European council
"My dear British friends. We were, we are, and we will always be a Community. And no Brexit will ever change that."
EU chief negotiator Michel Barnier
"Today my thoughts go the millions of British citizens who are sad, as we are sad today," Barnier told BBC TV.
US Secretary of State Mike Pompeo
"The British people wanted out of the tyranny of Brussels," Pompeo told the Daily Telegraph. "They wanted the capacity to make their own decisions. We want that for the British people too."
Scottish First Minister Nicola Sturgeon
"Tonight, the UK will leave the European Union. That will be a moment of profound sadness for many of us across the UK. And here in Scotland, given that it is happening against the will of the vast majority of us, that sadness will be tinged with anger," she said.
"I want to focus on something much more important. Hope of a different and better future for Scotland ... After tonight, that future is only open to us with independence."
David Cameron, former British prime minister
"It's obviously a very big day for our country," Cameron, who called the 2016 referendum and quit after the vote for Brexit, told Sky News.
"I always accepted the referendum result and knew this day would come. We are one of the biggest economies in the world ... we can make a success of the choice that we make and I'm sure that's exactly what we will do."
Tony Blair, former British prime minister
"I opposed Brexit with every fiber of my political being. I still deeply regret it, politically and emotionally... But Brexit is happening, and our attitude now should be to strive to make the best of it; to approach it with determined optimism, not looking over our shoulders in unrequited longing for what was."
European council President Charles Michel, European Parliament President David Sassoli and European Commission President Ursula Von Der Leyen
"For us, as Presidents of the three main EU institutions, today will inevitably be a day of reflection and mixed emotions – as it will for so many people."
"We will think of the UK and its people, their creativity, ingenuity, culture, and traditions, that have been a vital part of our Union's tapestry."