Democrat Joe Biden on Saturday defeated incumbent Republican US President Donald Trump in the closely-fought presidential election, according to American media projections.

The 77-year-old former US vice president will become the 46th president of the United States, CNN reported, after a victory in Pennsylvania, the state where he was born put him over the 270 electoral votes needed to win. With Pennsylvania’s 20 electoral votes, Biden now has a total of 273 electoral votes.

As soon as the news broke an outpour of wishes followed. World leaders across the globe took on Twitter to wish Joe Biden and Kamala Harris. 

Indian Prime Minister Narendra Modi said that he looks forward to work closely with Joe Biden to reach greater heights.

He also congratulated Kamala Harris for creating history as an Indian-American.

Prime Minister of the United Kingdom, Boris Johnson posted an image saying that the he looks forward to work with Joe Biden on shared priorities like climate change and trade.

Former US President Barack Obama congratulated his 2012 running mate and Kamala Harris by posting a statement that wished the duo for all the groundbreaking work they’ve planned. Obama also added that he and Michelle Obama will help the new White House incumbents in every way possible.

Justin Trudeau, the Canadian Prime Minister wrote, “Congratulations, Joe Biden and Kamala Harris. Our two countries are close friends, partners, and allies. We share a relationship that’s unique on the world stage. I’m really looking forward to working together and building on that with you both.”

The Foreign Minister of Germany Heiko Maas said that Congratulations to @KamalaHarris for being the first woman and first person of color to make history today in the office of US Vice President. Ms. Vice President-elect, we look forward to working with you.