Political leaders from around the world were quick to congratulate Joe Biden after US networks declared him the winner of the bitter White House race over President Donald Trump.
As supporters poured onto the streets of Washington and other cities in exuberant celebration and former US president Barack Obama hailed Biden's win as "decisive" and "historic", here are some of the first reactions from political figures across the globe:
Taoiseach Micheál Martin was one of the first to take to Twitter and hail the Irish-America Democrat Joe Biden as "president-elect".
"I want to congratulate the new President Elect of the USA @JoeBiden," Martin tweeted.
"Joe Biden has been a true friend of this nation throughout his life and I look forward to working with him in the years ahead. I also look forward to welcoming him back home when the circumstances allow!" Martin added.
Canada's Prime Minister Justin Trudeau was also quick off the mark.
"I look forward to working with President-elect Biden, Vice President-elect (Kamala) Harris, their administration, and the United States Congress as we tackle the world's greatest challenges together," Trudeau said in a statement.
British Prime Minister Boris Johnson congratulated Biden "on his election as President of the United States and Kamala Harris on her historic achievement.
"The US is our most important ally and I look forward to working closely together on our shared priorities, from climate change to trade and security."
French President Emmanuel Macron tweeted: "The Americans have chosen their President. Congratulations @JoeBiden and @KamalaHarris! We have a lot to do to overcome today's challenges. Let's work together!"
German Chancellor Angela Merkel congratulated Biden, saying Germany's trans-atlantic ties with the US were "irreplaceable".
And her Foreign Minister Heiko Maas hailed Biden's election as a "new start" for trans-atlantic relations.
"We want to invest in our cooperation (with the new president) for a new start in transatlantic relations, a 'new deal'," he tweeted, as Vice Chancellor Olaf Scholz hailed the opening of a "new chapter".
In a joint statement, EU Commission President Ursula von der Leyen and Charles Michel, president of the European Council, which represents the leaders of EU member states, said: "We take note of the latest development in the electoral process.
"On this basis the EU congratulates President-elect Joe Biden and Vice President-elect Kamala Harris on reaching enough Electoral Votes."
Greek Prime Minister, Kyriakos Mitsotakis tweeted: "Congratulations to US President-Elect @JoeBiden. Joe Biden has been a true friend of Greece and I'm certain that under his presidency the relationship between our countries will grow even stronger."
Belgian Prime Minister Alexander De Croo tweeted: "Congratulations @JoeBiden with your election as 46th President of the United States. A record number of people have cast their vote in this election. This illustrates the vibrancy of the American political life and its democracy."
Polish President Andrzej Duda said: "Congratulations to @JoeBiden for a successful presidential campaign. As we await the nomination by the Electoral College, Poland is determined to up keep high-level and high-quality PL-US strategic partnership for an even stronger alliance."
Ukrainian President Volodymyr Zelenskiy said: "Congratulations to @JoeBiden @KamalaHarris! Ukraine is optimistic about the future of the strategic partnership with the United States. Ukraine and the United States have always collaborated on security, trade, investment, democracy, fight against corruption. Our friendship becomes only stronger!"
Dutch Prime Minister Mark Rutte said: "On behalf of the Dutch cabinet I would like to congratulate @JoeBiden and @KamalaHarris with their election victory after a close race. I am looking forward to continue the strong bond between our countries, and hope to speak with him about these matters soon."
Norway's Prime Minister Erna Solberg said: "On behalf of the Norwegian government, I congratulate Joe Biden on his election victory. The United States is Norway's most important ally and we work closely together in many areas.
"The world needs American leadership to solve the major global challenges. We look forward to cooperating with the Biden administration at the United Nations Security Council, and in efforts to combat the coronavirus pandemic and climate change."
The Spanish Prime Minister Pedro Sanchez tweeted: "The American people have chosen the 46th President of the United States. Congratulations @JoeBiden and @KamalaHarris. We wish you good luck and all the best. We are looking forward to cooperating with you to tackle the challenges ahead of us," he said.
Prime Minister Narendra Modi said: "Congratulations @JoeBiden on your spectacular victory! As the VP, your contribution to strengthening Indo-US relations was critical and invaluable. I look forward to working closely together once again to take India-US relations to greater heights."
Pakistani Prime Minister Imran Khan tweeted: "Congratulations @JoeBiden & @KamalaHarris. Look forward to President Elect Biden's Global Summit on Democracy & working with him to end illegal tax havens & stealth of nation's wealth by corrupt ldrs. We will also continue to work with US for peace in Afghanistan & in the region."