REPUBLICAN candidate Donald Trump has won the US presidential election after taking the swing state of Wisconsin.

He had previously declared victory at a campaign event in Florida after securing several key states.

Both Prime Minister Keir Starmer (below) and John Swinney have offered their congratulations to the new president-elect.

With a win in Wisconsin, Trump cleared the 270 electoral votes needed to clinch the presidency. 

The results cap a historically tumultuous and competitive election season that included two assassination attempts targeting Trump and a shift to a new Democratic nominee just a month before the party's convention. 

Trump is the first former president to return to power since Grover Cleveland regained the White House in the 1892 election. 

READ MORE: US election tracker: Maps and graphics show results so far

He is the first person convicted of a felony to be elected president and, at 78, is the oldest person elected to the office. 

Speaking to his supporters in Florida, Trump (below) said he would not let his backers down and that it is "time to put the divisions of the past four years behind us".

He added: "Every single day I will be fighting for you with every breath in my body. 

"I will not rest until we have delivered the strong, safe and prosperous America that our children deserve ,and that you deserve."

Trump also thanked his wife and family as he pointed to the Republicans having "taken back control of the Senate".

Democratic candidate Harris's support came from her party's strongholds on the east and west coasts in states such as New York, Delaware and California.

READ MORE: Boris Johnson ‘fired’ from Channel 4 US election coverage

Reacting to the news of Trump's victory, Scotland's First Minister John Swinney said: "Congratulations to president-elect Trump on his election. 

"Scotland and the USA share many social, cultural and economic links. In that relationship, we will stand fast in support of our values of fairness, democracy and equality – ideals that America was built upon."

Prime Minister Keir Starmer and Foreign Secretary David Lammy also offered their congratulations to Trump.