Donald Trump has been elected president, capping a remarkable comeback four years after he was voted out of the White House and ushering in a new American leadership likely to test democratic institutions at home and relations abroad.

Trump, 78, recaptured the White House yesterday by securing more than the 270 Electoral College votes needed to win the presidency, Edison Research projected, following a campaign of dark rhetoric that deepened the polarization in the country.

The former president’s victory in the swing state of Wisconsin pushed him over the threshold. As of 5:45 a.m. ET (1045 GMT) Trump had won 279 electoral votes to Harris’ 223 with several states yet to be counted.

He also led Harris by about 5 million votes in the popular count. “America has given us an unprecedented and powerful mandate,” Trump said early on Wednesday to a roaring crowd of supporters at the Palm Beach County Convention Center in Florida.

Trump’s political career appeared to be over after his false claims of election fraud led a mob of supporters to storm the U.S. Capitol on Jan. 6, 2021, in a failed bid to overturn his 2020 defeat.

But he swept away challengers inside his Republican Party and then beat Democratic candidate Kamala Harris by capitalizing on voter concerns about high prices and what Trump claimed, without evidence, was a rise in crime due to illegal immigration.

Harris did not speak to supporters who had gathered at her alma mater Howard University. Her campaign co-chair, Cedric Richmond, briefly addressed the crowd after midnight, saying Harris would speak publicly later.

Republicans won a U.S. Senate majority, but neither party appeared to have an edge in the fight for control of the House of Representatives where Republicans currently hold a narrow majority.

Major stock markets around the world rallied following Trump’s victory, and the dollar was set for its biggest one-day jump since 2020.

His diatribes were often aimed at migrants, who he said were “poisoning the blood of the country,” or Harris, whom he frequently derided as unintelligent.

Despite legal woes and controversies, Trump is only the second former president to win a second term after leaving the White House. The first was Grover Cleveland, who served two four-year terms starting in 1885 and 1893.