Men leave a currency exchange business displaying rates of the Mexican peso Tuesday, Nov. 8, 2016, in Tijuana, Mexico. The rising prospect of a Trump presidency jolted markets around the world Wednesday, sending Dow futures and Asian stock prices sharply lower as investors panicked over uncertainties on trade, immigration and geopolitical tensions. The Mexican peso likewise tumbled and investors looking for safe assets bid up the price of gold. (AP Photo/Gregory Bull)

A journalist writes a material as she watches a live telecast of the U.S. presidential election standing at portraits of U.S. presidential candidate Donald Trump and Russian President Vladimir Putin in the Union Jack pub in Moscow, Russia, Wednesday, Nov. 9, 2016. Russia’s lower house of parliament is applauding the election of Trump as U.S. president. (AP Photo/Alexander Zemlianichenko)

A woman walks by banners of Democratic presidential candidate Hillary Clinton and Republican presidential candidate Donald Trump during an election watch event hosted by the U.S. Embassy in Seoul, South Korea, Wednesday, Nov. 9, 2016. The United States headed for the polls to vote for their new president on Tuesday. (AP Photo/Lee Jin-man)

LONDON | The world will face a starkly different America when President-elect Donald Trump takes the oath of office in January.

While the billionaire businessman’s triump was welcomed in some countries, others saw it as a big shock, as governments will now have to deal with a man who has cozied up to Russian President Vladimir Putin, told NATO allies they would have to pay for their own protection and vowed to make the Mexican government pay for a multibillion-dollar border wall.

Trump’s win was particularly startling in Mexico, where his remarks calling Mexican immigrants criminals and “rapists” were a deep insult to national pride. Financial analysts have predicted a Trump win would threaten billions of dollars in cross-border trade, and government officials say they have drawn up a contingency plan for such a scenario, though without releasing details.

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

The impact of his unexpected electoral triumph is also being felt strongly in the volatile Middle East, where multiple crises are unfolding.

Iran’s foreign minister said the United States must respect the commitments it made as part of last year’s historic nuclear deal. Trump had criticized the accord during the campaign and said he would try to renegotiate it.

Mohammad Javad Zarif spoke Wednesday during a visit to Romania after Trump’s win was clear. The foreign minister said that it’s important “that whoever is elected president of America should fully understand current realities of the world and conform their policies with those realities.”

He says the incoming U.S. president “should respect the commitments that the American government has accepted, not as a bilateral deal, but as a multilateral one.”

In Israel, Education Minister Naftali Bennett, a key partner in Prime Minister Benjamin Netanyahu’s ruling coalition, hailed Trump’s victory as marking an end to the proposal to create a Palestinian state.

Bennett, who supports Israeli settlement in the West Bank, said Trump’s win must lead Israel to “retract the notion of a Palestinian state in the center of the country, which would hurt our security and just cause.”

Netanyahu hasn’t yet commented on Trump’s win.

In Europe, NATO allies now wait to see if Trump follows through on suggestions that the U.S. will look at whether they have paid their proper share in considering whether to come to their defense.

Trump’s rhetoric has challenged the strategic underpinning of the NATO alliance, rattling its leaders at a time when Russia has been increasingly aggressive.

German Defense Minister Ursula von der Leyen called the vote “a big shock” and “a vote against Washington, against the establishment.”

Von der Leyen said on German public television Wednesday that while many questions remain open, “We Europeans obviously know that as partners in 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.’”

Trump’s victory pleased leaders of the nationalist Alternative for Germany party who said it will have a ripple effect and help change the balance of political power in Germany and the rest of Europe. The party has campaigned strongly against Chancellor Angela Merkel’s policy of letting hundreds of thousands of migrants into the country.

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

The French populist, anti-immigrant politician Marine Le Pen was also pleased. She congratulated Trump even before the final results were known, tweeting her support to the “American people, free!”

French Foreign Minister Jean-Marc Ayrault said European politicians should heed the message from Trump votes.

“There is a part of our electorate that feels … abandoned,” including people who feel “left behind by globalization,” he said.

Trump’s victory is being viewed with shock and revulsion in Ireland, a country close to the Clintons and fearful of Trump’s campaign pledge to confront U.S. companies using Ireland as a tax shelter.

The Irish Times branded the New York businessman a “misogynistic racist liar.”

Irish Times columnist Fintan O’Toole wrote Wednesday: “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,” he wrote.

British Prime Minister Theresa May issued a statement saying she looks forward to working with Trump and building on the two countries’ longstanding “special relationship.”

Putin sent Trump a telegram Wednesday morning congratulating him on his victory.

He said in a televised statement that Russia is ready to “do everything” to restore Russian-U.S. relations, which have been badly strained in recent years.

Moscow has been unusually prominent in the race. Clinton’s campaign and the Obama administration blamed Russian hackers for leaked emails from the Democratic National Committee and Clinton campaign staff. Trump, in turn, has made complimentary remarks about Putin. The ties some of his advisers and former campaign officials have to Russia have raised suspicions.

In Asia, security issues and trade will top the agenda for the new administration, from North Korea and the South China Sea to the contentious and yet-unratified Trans-Pacific Partnership trade agreement.

Chinese state media and government-backed commentators had signaled Beijing’s preference for a Trump win. Like Russia, China is seen as favoring Trump because he appears less willing to confront China’s newly robust foreign policy, particularly in the South China Sea.

Clinton, by contrast, is disliked in Beijing for having steered the U.S. “pivot” to Asia aimed at strengthening U.S. engagement with the region, particularly in the military sphere.

Scholar Mei Xinyu wrote in the Communist Party newspaper Global Times that China would find it easier to cope with a Trump presidency.

“Trump has always insisted on abandoning ideological division and minimizing the risks that unnecessary conflicts with other countries may bring to the U.S.,” Mei wrote.

In Indonesia, the world’s most populous Muslim country, social media was abuzz with speculation about whether Trump would follow through on campaign rhetoric calling for a ban on Muslims entering the United States. Some said they fear they would be prevented from visiting relatives and friends who live in America or traveling there as tourists.

News of Trump’s widening lead hit hard in Cuba, which has spent the last two years negotiating normalization with the United States after more than 50 years of Cold War hostility, setting off a tourism boom. Trump has promised to roll back Obama’s opening with Cuba unless President Raul Castro agrees to more political freedoms.