The Hungarian Prime Minister has congratulated Donald Trump on his victory over 'deadly' Hillary Clinton.

'What a great news. Democracy is still alive,' Viktor Orban wrote on his Facebook page following Donald Trump's unprecedented election victory.

Orban, the first European leader to favour one candidate over the other, has said Trump's foreign policies were 'vital' for his nation and branded Clinton's plans 'deadly'.

Hungarian Prime Minister Viktor Orban (pictured) has congratulated Donald Trump on his victory over 'deadly' Hillary Clinton

What a great news. Democracy is still alive,' Orban wrote on his Facebook page following Donald Trump's unprecedented election victory. Pictured: Trump on stage with his running mate Mike Pence

He has upset fellow EU members in the past over policy, most recently with his tough stance on Europe's migrant crisis.

He strongly objected to EU resettlement plans and built a fence along Hungary's southern border.

'The migration and foreign policy advocated by the Republican candidate Mr Trump is good for Europe and vital for Hungary,' Orban said in July.

German Chancellor Angela Merkel, who welcomed refugees to her country, has offered President-elect Donald Trump 'close cooperation' on the basis of shared trans-Atlantic values.

They include respect for human dignity regardless of people's origin, gender or religion.

Merkel said the conflict in Trump and Clinton's battle for the White House was 'difficult to bear' but stressed her nation's relationship with the US 'is a foundation stone of German foreign policy'.

She said: 'Germany and America are connected by values: democracy, freedom, respect for the law and for the dignity of human beings, independently of origin, skin color, religion, gender, sexual orientation or political views.'

German Chancellor Angela Merkel, who welcomed refugees to her country, has offered President-elect Donald Trump (pictured) 'close cooperation'

'On the basis of these values, I am offering the future president of the United States of America, Donald Trump, close cooperation.'

Meanwhile European Union leaders have invited US President-elect Donald Trump to come visit the 28-nation bloc as possible to assess trans-Atlantic ties.

EU Council President Donald Tusk and his Commission counterpart Jean-Claude Juncker said that, despite Trump's campaign talk of protectionism and isolationism, both sides 'should consolidate the bridges we have been building across the Atlantic'.

Tusk famously quoted his wife during the U.S. election campaign, saying that 'One Donald is more than enough.!'