Theresa May has congratulated Donald Trump after the Republican candidate pulled off a shock victory in the US election, while Labour leader Jeremy Corbyn has criticised the "divisive rhetoric" of the president-elect.
Shortly after Trump's surprise victory was confirmed on Wednesday morning, the prime minister issued a statement insisting the "special relationship" between the UK and the US will endure despite Trump's overwhelming unpopularity among British members of parliament.
May offered a veiled criticism of Trump's campaign at the beginning of the week – saying she preferred elections to be carried out in "a calm and measured way" – but said she is now looking forward to working with the Republican when he takes office next year.
"I would like to congratulate Donald Trump on being elected the next president of the United States, following a hard-fought campaign," said May.
"Britain and the United States have an enduring and special relationship based on the values of freedom, democracy and enterprise. We are, and will remain, strong and close partners on trade, security and defence.
"I look forward to working with president-elect Donald Trump, building on these ties to ensure the security and prosperity of our nations in the years ahead."
The foreign secretary, leading Brexit campaigner Boris Johnson, tweeted his congratulations to Trump on Wednesday morning saying he was "much looking forward to working with his administration on global stability and prosperity" and that he's "confident" UK-US relations will become stronger.
The leader of the UK Labour party, Jeremy Corbyn, said Trump's victory was an "unmistakable rejection of the political establishment" and heavily criticised the "divisive rhetoric" of Trump's campaign over the past year and a half.
In August, Corbyn extended an invitation to Trump for a cup of tea in his local mosque to discuss "culture and diversity" after the then presidential candidate said he would ban Muslims from entering the US.
“Many in Britain and elsewhere will be understandably shocked by Donald Trump’s victory in the US presidential election, the rhetoric around it and what the election result means for the rest of the world, as well as America," said Corbyn in a statement on Wednesday.
“Trump’s election is an unmistakable rejection of a political establishment and an economic system that simply isn’t working for most people. It is one that has delivered escalating inequality and stagnating or falling living standards for the majority, both in the US and Britain."
The Labour leader added: “This is a rejection of a failed economic consensus and a governing elite that has been seen not to have listened. And the public anger that has propelled Donald Trump to office has been reflected in political upheavals across the world.
“But some of Trump’s answers to the big questions facing America, and the divisive rhetoric around them, are clearly wrong."
The archbishop of Canterbury, Justin Welby, offered his prayers to the people of the United States.
Scotland's first minister Nicola Sturgeon, who endorsed Hillary Clinton earlier this week and previously backed calls to ban Trump from the UK, said she was "personally disappointed" by the result but insisted the ties between Scotland and the US would continue.
"While this is not the outcome I hoped for, it is the verdict of the American people and we must respect it. I congratulate president-elect Trump on winning the election," said Sturgeon.
"We value our relationship with the United States and its people. The ties that bind Scotland and the US - of family, culture and business - are deep and longstanding and they will always endure. It is normal in any election for those on the losing side to be feel disappointment, but today, many in America and across the world, will also feel a real sense of anxiety.
"I hope the president-elect will take the opportunity to reach out to those who felt marginalized by his campaign and make clear – in deeds as well as words – that he will be a president for everyone in modern, multicultural America."