Nations worldwide are reacting to Donald Trump's march to the White House with a mixture of praise and dread.

Here are snapshots of the sentiment around the globe:

RUSSIA

Russian President Vladimir Putin said Moscow is ready to try to restore good relations with the United States in the wake of Mr Trump's election.

Mr Putin said at a ceremony accepting the credentials of new ambassadors: "We are aware that it is a difficult path, in view of the unfortunate degradation of relations between the Russian Federation and the United States."

Mr Putin said: "It is not our fault that Russian-American relations are in such a state."

Earlier, the Kremlin said Mr Putin sent Mr Trump a telegram of congratulations, expressing "his hope to work together for removing Russian-American relations from their crisis state".

Mr Putin also said ties between Moscow and Washington must be "based on principles of equality, mutual respect and a real accounting of each other's positions".

Meanwhile, former Soviet leader Mikhail Gorbachev said Mr Trump's election as US president offers an opportunity to repair ties between Moscow and Washington.

The Interfax news agency reported Mr Gorbachev said: "Maybe he will understand that a lot depends on the position of Russia."

Speaking from a hospital bed, Mr Gorbachev said: "Under a new president of the US the Russian-American relationship could get significantly better. I am convinced it is essential now to go straight into a two-way dialogue on the highest level."

The 85-year-old was admitted to the hospital for what Russian media reported was a planned pacemaker.

GERMANY

German Chancellor Angela Merkel offered Mr Trump "close co-operation" on the basis of shared trans-Atlantic values that she says include respect for human dignity regardless of people's origin, gender or religion.

Mrs Merkel told reporters in Berlin on Wednesday that the campaign which ended in Mr Trump's victory featured "confrontations that were difficult to bear".

Mrs Merkel stressed Germany's close historical connection with the United States. 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 colour, religion, gender, sexual orientation or political views."

She added: "On the basis of these values, I am offering the future president of the United States of America, Donald Trump, close co-operation."

She said the partnership with the US "is a foundation stone of German foreign policy."

A senior ally of Mrs Merkel said Germany "must also work together as well as possible with Mr Trump as the new US president".

Volker Kauder, the parliamentary caucus leader of Mrs Merkel's conservative Union bloc, said that a "close trans-Atlantic partnership continues to be of central significance for Germany and Europe in the coming years".

Mr Kauder pointed out that Germans and the US share the same set of values and that "especially now we need to work on keeping up the good relations to the US".

German defence minister Ursula von der Leyen, who also belongs to Mrs Merkel's conservative Christian Democrats party, had called the vote in the US "a big shock" earlier on Wednesday.

She said that while many questions remain open, "we Europeans obviously know that as partners in the Nato, Donald Trump will naturally ask, 'what are you achieving for the alliance', but we will also ask, 'what's your stand toward the alliance'".

The leaders of the nationalist Alternative for Germany party, which campaigns against Mrs Merkel's refugee policy, welcomed Mr Trump's victory.

Party co-leader Frauke Petry said: "It was high time that people disenfranchised by the political establishment get their voice back in the United States of America too."

Ms Petry said Trump's victory offered the chance to "readjust the trans-Atlantic relationship and end the big conflicts in Ukraine and Syria jointly with Russia" and "replace America's hegemonic claims in Europe with co-operation among equals".

Fellow party leader Joerg Meuthen said: "The establishment now has to recognise that you can't rule past the population for long ... Trump has rightly been rewarded for his bravery in standing up against the system and speaking uncomfortable truths."

VATICAN

The Vatican's first reaction to the election of Mr Trump has focused on its wish for global peace.

Pope Francis did not mention the US elections during his Wednesday audience, but secretary of state, Cardinal Pietro Parolin, offered Mr Trump congratulations in a statement to Vatican Radio that "his government can be truly fruitful".

He added the Vatican offered its prayers "that the Lord illuminates and sustains him in service of his country, naturally, but also in service of the well-being and peace of the world".

He concluded by noting "there is need for everyone to work to change the global situation, which is in a situation of severe lacerations and great conflict".

EUROPEAN UNION

EU leaders invited Mr Trump to visit the 28-nation bloc to assess trans-Atlantic ties.

With "sincere congratulations", 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.!"

After Wednesday's shock election result, Tusk and Juncker said that "it is more important than ever to strengthen trans-Atlantic relations." That is why they invited Trumpt to come over for a visit "at your earliest convenience."

MEXICO

"It's DEFCON 2," said Mexican analyst Alejandro Hope. "Probably something as close to a national emergency as Mexico has faced in many decades.

"It depends if he means what he says and if he can do what he claims he wants to do. A massive deportation campaign could really put some stress on Mexican border communities. A renegotiation of Nafta (North American Free Trade Agreement) could seriously hobble the Mexican economy. It could create a lot of uncertainty. Financial markets could suffer."

CHINA

President Xi Jinping conveyed his congratulations to Mr Trump, saying he looked forward to working with him on promoting ties in a "constructive" way that avoids conflict and confrontation.

During his campaign, Mr Trump accused China of illegally subsidising exports, manipulating its currency and stealing intellectual property.

State broadcaster CCTV reported Mr Xi said the two biggest economies in the world shared common interests and shouldered a "special and important responsibility in upholding world peace".

Mr Xi said: "I highly value China-US relations and am looking forward to working with you to expand cooperation in all fields, including in bilateral, regional and global aspects."

He said he expects they would "manage differences in a constructive way, in the spirit of non-conflict, non-confrontation, mutual respect, cooperation and win-win".

Meanwhile, state media outlets cast the US election as the embodiment of America's democracy in crisis, in contrast to China's perceived stability under authoritarian rule.

The state-run Xinhua News Agency said the campaign had highlighted that "the majority of Americans are rebelling against the US's political class and financial elites".

The official Communist Party newspaper People's Daily said the presidential election had revealed an "ill democracy".

But some Chinese participants at a US Embassy event in Beijing welcomed a Trump presidency.

Blogger Wang Yiming said the Republican Party has been more willing to demonstrate American leadership globally, and he hoped a Republican president would do more to encourage freedom of speech in China.

FRANCE

President Francois Hollande said Mr Trump's election "opens a period of uncertainty" that "must be faced with lucidity and clarity".

In brief remarks after the weekly Cabinet meeting, Mr Hollande congratulated Mr Trump "as is natural between two heads of state", but showed little enthusiasm. Mr Hollande had openly endorsed Hillary Clinton and said he was thinking of her.

Mr Hollande said "certain positions taken by Donald Trump during the American campaign must be confronted with the values and interests we share with the United States".

He said: "What is at stake is peace, the fight against terrorism, the situation in the Middle East. It is economic relations and the preservation of the planet."

Populist anti-immigrant politician Marine Le Pen, who is hoping to ride France's own anti-establishment sentiment to victory in spring presidential elections, tweeted her support to the "American people, free!".

Foreign minister Jean-Marc Ayrault expressed concern about Mr Trump and said: "We don't want a world where egoism triumphs."

Mr Ayrault said European politicians should pay attention to the message from Trump voters. "There is a part of our electorate that feels ... abandoned," including people who feel "left behind" by globalisation, he said.

CUBA

Communist Party member and noted economist and political scientist Esteban Morales told the Telesur network that Cubans "must be worried because I think this represents a new chapter".

Carlos Alzugaray, a political scientist and retired Cuban diplomat, said Mr Trump's victory could please some hard-liners in the Cuban leadership who worried that the country was moving too close to the United States too quickly.

Normalisation of relations has set off a tourism boom in Cuba and visits by hundreds of executives from the US and dozens of other nations newly interested in doing business on the island.

Mr Trump has promised to reverse Barack Obama's opening with Cuba unless President Raul Castro agrees to more political freedom on the island, a concession considered a virtual impossibility.

TALIBAN

The Taliban called on Mr Trump to withdraw all US forces from Afghanistan once he takes office as president.

In a statement sent to The Associated Press, Taliban spokesman Zabihullah Mujahid said a Trump administration "should allow Afghans to become a free nation and have relationships with other countries based on non-interference in each other's affairs".

The Afghan conflict is in its 16th year. The Taliban has spread their footprint across Afghanistan in the two years since most international combat troops withdrew.

President Obama expanded US troops' mandate to enable them to work more closely on the battlefield with their Afghan counterparts, and to conduct counter-terrorism operations against al Qaida, the Islamic State group and the Taliban.

BALTIC NATIONS

Despite being worried about an increased Russian military presence, Baltic nations are still congratulating Mr Trump.

Tensions grew during the US presidential election campaign when Mr Trump floated the idea that Nato members' defence spending targets would be a prerequisite for the US to defend a Nato ally. That is an abrupt break from long-standing US policy.

Lithuanian President Dalia Grybauskaite said: "The people of the US have made a decision, we will respect their choice ... we trust the United States, as it is our strongest and closest ally."

In neighboring Latvia, President Raimonds Vejonis's office said he is looking forward "to close relations with the new US administration," and that the US would remain a strategic partner and important Nato ally.

The new Estonian president, Kersti Kaljulaid, congratulated Mr Trump, saying the United States "has been, and will also continue to be one of Estonia's most important allies".

JAPAN

Prime Minister Shinzo Abe sent his "heartfelt congratulations" to Mr Trump for his election as the next US president.

Mr Abe said "as a very successful businessman with extraordinary talents, not only you made a great contribution to the growth of the US economy, but now as a strong leader, you have demonstrated your determination to lead the United States".

Mr Abe reminded Mr Trump of the importance of the Asia-Pacific region, saying its peace and stability is "a driving force of the global economy" that also brings peace and prosperity to the US, reminding him of the importance of the region.

He also told reporters at the prime minister's office that the two countries are "unwavering allies" bonded with universal values and that he hoped to further strengthen the ties.

Mr Abe said "I hope to tackle various global challenges together with President-elect Trump."

Chief cabinet secretary Yoshihide Suga reaffirmed his government's commitment to the US security alliance. He said the alliance will remain the cornerstone of Japan-US diplomacy.

TURKEY

President Recep Tayyip Erdogan said he hopes Mr Trump's election as president marks a new era in the United States that will lead to "beneficial" steps for fundamental rights, liberties and democracy in the world.

Addressing a business group in Istanbul, Mr Erdogan also said he hopes the election result would also be auspicious for the region.

Mr Erdogan said: "Personally and on behalf of the nation, I wish to consider this decision by the American people a positive sign and wish them a successful future."

Prime minister called on Mr Trump to extradite a US-based Muslim cleric Fethullah Gulen - blamed by Ankara for the failed coup in July - as soon as he is sworn in.

Binali Yildirim also said he hoped that the new leadership in the United States would take into consideration Turkey's "sensitivities concerning the fight against terrorism", give priority to policies that would bring peace and stability to the region and advance traditional friendship between the two countries.

Ties between the two allies have been strained over perceptions in Turkey that the United States is reluctant to arrest and extradite Gulen. Turkey's is also frustrated by Washington's backing to Syrian Kurdish militia that are fighting the Islamic State group in Syria and which Ankara considers to be a terrorist group.

Justice minister Bekiz Bozdag said the change of presidency will not make a big difference to "deep-rooted" relations between the two countries.

He told the state-run Anadolu Agency: "In essence our relations are relations between two states and we hope that under the new presidential term the Turkish-US relations will be much better. That is our expectation.

"I saw an intense campaign for Hillary Clinton's victory. Artists, sportsmen, all personalities worked for Clinton's victory. But in elections, it is important to embrace the people. No one has won elections through newspaper headlines, opinion polls or television (campaigns)."

UK

Prime Minister Theresa May said the two countries will remain "strong and close partners on trade, security and defence".

In a statement, Mrs May said Mr Trump had won after "a hard-fought campaign".

Mrs May, who took office after British voters delivered a shock to the establishment by deciding to leave the European Union, declined to comment on rival candidates Mr Trump and Mrs Clinton while the US race was on.

On Wednesday, she stressed the enduring trans-Atlantic "special relationship, based on the values of freedom, democracy and enterprise".

"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," Mrs May said.

ITALY

Italy's premier has offered his congratulations to Mr Trump, brushing aside political differences, following his repeated public endorsements of Mrs Clinton.

Matteo Renzi said: "In the name of Italy, I congratulate the president of the United States and wish him well in his work, convinced that the Italian-American friendship remains strong and solid."

Mr Renzi faces his own political reckoning next month with a constitutional referendum that has mobilised opposition as well as party dissidents against him. A no vote is likely to force at least a government shuffling in Italy, if not new elections.

Mr Renzi was in Washington last month for a state visit with Mr Obama.

NETHERLANDS

Populist Dutch anti-Islam legislator Geert Wilders tweeted his congratulations to Mr Trump.

Mr Wilders, whose Freedom Party is riding high in opinion polls ahead of Dutch elections in March, called Mr Trump's win: "A historic victory! A revolution."

Looking ahead to the Dutch vote, he finished his tweet: "We also will give our country back to the people of the Netherlands."

INDONESIA

Indonesians on social media questioned why Americans voted in big numbers for Mr Trump, who many in the world's most populous Muslim country perceive as intolerant and reactionary.

Twitter, Facebook and chatrooms buzzed with speculation about whether Mr Trump would follow through on campaign rhetoric that included a ban on Muslims entering the US.

Some people feared being prevented from visiting relatives and friends in America or travelling there as tourists. About 100,000 Indonesians live in the US.

President Joko "Jokowi" Widodo said his government would work with whoever becomes president.

AUSTRALIA

Prime Minister Malcolm Turnbull said his country will work "as closely as ever" with the United States under Mr Trump's new administration.

He said: "Politicians and governments, congressmen, senators, prime ministers, presidents come and go according to the will of the people of Australia and the United States, but the bond between our two nations, our shared common interests, our shared national interests are so strong, are so committed that we will continue to work with our friends in the United States."

Foreign minister Julie Bishop said the new administration will face a number of challenges, including in Asia-Pacific, and Australia wants to work constructively with the new government to ensure the continued presence and leadership of the US in the region.

She called the US "our major security ally" and the largest foreign direct investor and the second-largest trading partner.

She added: "The United States is also the guarantor and defender of the rules-based international order that has underpinned so much of our economic and security issues. And interests."

NEW ZEALAND

Student Sarah Pereira said she is looking forward to working as an intern in the US Congress, but dreads the prospect of Mr Trump as president.

Ms Pereira, a masters student in strategic studies, is leaving for Washington this weekend after winning a scholarship to work for Democratic Congressman Gregory Meeks.

Speaking at an event hosted by the US Embassy in Wellington, she predicted the effects of Mr Trump's victory on international relationships would be "catastrophic".

PHILIPPINES

President Rodrigo Duterte, who has previously lashed out at Mr Obama for criticising his controversial anti-drug crackdown, congratulated Mr Trump.

Mr Duterte, who took office in June, has had an uneasy relation with the US. The 71-year-old has announced his desire to scale back joint combat drills with the US military and end the presence of foreign troops, including Americans, in the country in two years.

In a statement, however, the tough-talking leader was unusually diplomatic.

"President Duterte wishes president-elect Trump success in the next four years as chief executive and commander-in chief of the US military," communications secretary Martin Andanar said.

Mr Duterte, he added, "looks forward to working with the incoming administration for enhanced Philippines-US relations anchored on mutual respect, mutual benefit and shared commitment to democratic ideals and the rule of law".

INDIA

Indian Prime Minister Narendra Modi congratulated Mr Trump in a message posted on Twitter.

Mr Modi tweeted that "we appreciate the friendship you have articulated toward India during your campaign."

He added that "we look forward to working with you closely to take India-US bilateral ties to a new height."

Mr Trump had reached out to Indian-American voters at a rally in New Jersey in mid-October, praising Mr Modi and vowing to defeat terrorism while acknowledging that India had suffered terror strikes, including the deadly 2008 attacks that killed 164 people.

In the Indian capital on Wednesday morning, a small group of men from the right-wing Hindu nationalist group Hindu Sena celebrated Mr Trump's victory at a central protest ground, where they brandished posters and photos of the US president-elect while dancing and sharing sweets.

IRELAND

Mr Trump's victory is being viewed with shock and revulsion in Ireland.

The country is close to the Clintons and fearful of Mr Trump's campaign pledge to confront US companies using Ireland as a tax shelter.

The newspaper of record, the Irish Times, branded the New York businessman a "misogynistic racist liar" who would fan instability overseas and intolerance at home.

Irish Times columnist Fintan O'Toole wrote: "The republic of Washington, Jefferson, Lincoln and Roosevelt is now the United Hates of America."

"President Trump is the creation of the same demographic that gave Europe its far-right authoritarian movements with such disastrous consequences for the world. This does not mean that we are facing an American fascism. But it does mean that Trump will not be able to rule without stoking and manipulating fear," he wrote.

EGYPT

Egypt's president congratulated Mr Trump on winning the US presidential election, saying Cairo wants to see more "co-operation and coordination" between the two nations to bolster stability and peace in the Middle East.

According to a statement by his office on Wednesday, President Abdel-Fattah el-Sissi telephoned Mr Trump to offer his congratulations. He also invited the next US president to visit Egypt.

Cairo receives more than 1 billion US dollars annually in US military and economic aid under an assistance programme that began in the 1970s to reward Egypt for signing a peace treaty with Israel.

Mr El-Sissi met separately with Mr Trump and Democratic nominee Hillary Clinton in New York in September. Mr El-Sissi later said in an interview that Mr Trump "without a doubt" would make a strong leader.

NATO

Nato Secretary-General Jens Stoltenberg said he is looking forward to working with Mr Trump and that US leadership is vital to the world's biggest military alliance.

Mr Stoltenberg said "it is important that the Trans-Atlantic bond remains strong" and that "US leadership is as important as ever."

Mr Trump has criticised many allies for not paying their fair share of the Nato budget.

Mr Stoltenberg said he looks forward to welcoming Mr Trump at next Spring's Nato summit, to be held in the alliance's sprawling new premises in Brussels.

MALAYSIA

Malaysia's prime minister congratulated Mr Trump on his "extraordinary victory," saying his success showed that politicians should never take voters for granted.

Najib Razak is a possible beneficiary of what could be an inward-looking US under a Trump presidency. He is embroiled in a scandal over the alleged theft by his associates of several billion dollars from a state investment fund. A US Justice Department probe has linked Najib to the embezzlement.

Mr Najib said opinion polls and established political figures all underestimated the strength of Mr Trump's support.

He said that Mr Trump's "appeal to Americans who have been left behind, those who want to see their government more focused on their interests and welfare, and less embroiled in foreign interventions that proved to be against US interests, have won Mr Trump the White House."

HUNGARY

Hungary's Prime Minister said Mr Trump's victory is "great news" and shows "democracy is still alive".

Viktor Orban has often been criticised by the United States, including by Mrs Clinton when she was secretary of state, for weakening the democratic system of checks and balances. Mr Orban offered his congratulations to Mr Trump on his Facebook page.

Mr Orban, who returned to power in 2010 and last year built fences on Hungary's southern borders to stop the flow of migrants heading toward Western Europe, said in July that Mr Trump's immigration policies made him the best candidate for Hungary and Europe.

In 2014, Mr Orban famously declared his intentions of turning Hungary into an "illiberal state". His government has also been criticised by the US on issues like corruption, anti-Semitism and media freedom.

PALESTINE

President Mahmoud Abbas said in a statement that he "congratulates the elected American president, Donald Trump, and hopes that peace will be achieved during his term".

An aide for Mr Abbas, Saeb Erekat, said he does not expect US positions on the Israeli-Palestinian conflict to change under Mr Trump.

Mr Erekat said the Republican and Democratic parties are both committed to a two-state solution of the conflict and "I think this will not change with the coming administration".

The Palestinians want to establish a state in the West Bank, Gaza Strip and east Jerusalem, lands Israel captured in 1967. Gaps between Mr Abbas and Israel's hawkish leader on any border deal remain wide.

Mr Trump has proposed moving the US Embassy to Jerusalem, even though the US has not recognised Israel's annexation of parts of the city.

IRAQ

The Iraqi government said relations with the United States have a "solid base" and this is not expected to change after Mr Trump's election as president.

Government spokesman Saad al-Hadithi, told The Associated Press on Wednesday that Iraq is keen to develop its relations with the US and "boost cooperation in the fight against terrorism".

He noted the leading US role in the current battle to push back Islamic State extremists in Iraq's north. Last month, a US-led military coalition launched an operation to retake Iraq's second largest city, Mosul, from Islamic State extremists.

IRAN

Iran's semi-official news agency Tasnim quoted the country's foreign minister as saying the United States needs to implement its part of multi-lateral international commitments under last year's historic nuclear deal.

Mohammad Javad Zarif made the comments after businessman Mr Trump's election as president.

During the campaign, Mr Trump criticised the deal and suggested he would try to renegotiate it. Mr Zarif was quoted as saying that any US president "should have a correct understanding of realities of the world and our region and face them realistically".

Mr Zarif said America has accepted multi-lateral international commitments and has to "implement the nuclear deal".

ISRAEL

Prime Minister Benjamin Netanyahu called Mr Trump a "true friend of the State of Israel".

Mr Netanyahu said he believes the two leaders "will continue to strengthen the unique alliance between our two countries and bring it to ever greater heights".

Earlier, a key ally in Mr Netanyahu's centre-right coalition, education minister Naftali Bennett, said Mr Tump's victory means that "the era of a Palestinian state is over". The Palestinians want a state in lands Israel captured in 1967.

Mr Netanyahu has said he is willing to negotiate a border deal, but has retracted offers made by his predecessors while pressing ahead with Jewish settlement expansion on war-won land.

PAKISTAN

Prime Minister Nawaz Sharif called Mr Trump's election victory "historic".

Mr Sharif, a businessman himself, praised Mr Trump's commitment to free enterprise.

The Pakistani leader said Mr Trump's election "is indeed the triumph of the American people and their enduring faith in the ideals of democracy, freedom, human rights and free enterprise".

CZECH REPUBLIC

Prime Minister Bohuslav Sobotka said Americans have voted for a change in a democratic ballot and tweeted: "We respect that and take it pragmatically."

Mr Sobotka noted one thing about Mr Trump's election, saying: "Unlike some of his predecessors, Trump at least knows where the Czech Republic is located."

Mr Trump's first wife, Ivana, is of Czech origin.