World reacts to 2024 presidential election results

World leaders and top officials began reacting early Wednesday.

LONDON -- World leaders and top officials reacted to the unfolding results of the 2024 presidential election as the contest drew to a conclusion.

"Ready to work together as we have done for four years," Macron said, referring to Trump's first term. "With your convictions and with mine. With respect and ambition. For more peace and prosperity."

Israeli Prime Minister Benjamin Netanyahu congratulated both Trump and his wife, Melania. "Congratulations on history's greatest comeback," Netanyahu wrote on X. "Your historic return to the White House offers a new beginning for America and a powerful recommitment to the great alliance between Israel and America."

"This is a huge victory," Netanyahu added.

Israeli President Isaac Herzog, newly-appointed Defense Minister Israel Katz and Foreign Minister Gideon Saar also all offered their congratulations.

Palestinian President Mahmoud Abbas, meanwhile, also congratulated Trump and wished him success in a statement, saying: "We will remain steadfast in our commitment to peace, and we are confident that the United States will support, under your leadership, the legitimate aspirations of the Palestinian people."

Iranian government spokesperson Fatemeh Mohajerani said during a press conference that his country is "not too worried about Trump being elected" because "there was not much difference between" the two candidates.

"From our point of view, it does not make any difference and the budget that has been considered and the measures that were foreseen for the economic security of the country, the necessary forecasts have been made and there is no reason to worry," Mohajerani added. "Sanctions have greatly strengthened our internal strength and we have the ability to deal with them."

Elsewhere in the Middle East, Saudi Arabia's Crown Prince and de facto ruler Mohammad bin Salman wished Trump and the American people "progress and prosperity," according to a statement carried by the Saudi Press Agency.

Egyptian President Abdel Fattah el-Sisi said he hoped Trump could help find peace in the Middle East, while Jordanian King Abdullah II said he would work with Trump to in pursuit of "stability for all."

Hungarian Prime Minister Viktor Orban -- a longtime conservative ally of Trump -- posted to X early Wednesday celebrating what he called "the biggest comeback in U.S. political history." Orban congratulated Trump on "his enormous win," which he described as a "much needed victory for the world."

Hungarian Foreign Minister Peter Szijjarto wrote on Facebook of his hope that "Hungarian-American political cooperation will return to its peak form, because we have similar thoughts about peace, illegal immigration and protection of families."

"And there is a better chance than ever before that there will be peace in Ukraine after almost a thousand days," Szijjarto added.

Ukrainian President Volodymyr Zelenskyy lauded what he called Trump's "impressive election victory." He wrote in a post on X that leaders in Kyiv "look forward to an era of a strong United States of America under President Trump's decisive leadership. We rely on continued strong bipartisan support for Ukraine in the United States."

"I appreciate President Trump's commitment to the 'peace through strength' approach in global affairs," Zelenskyy added. "This is exactly the principle that can practically bring just peace in Ukraine closer. I am hopeful that we will put it into action together."

When asked about the election results on Wednesday, Russian President Vladimir Putin's spokesperson Dmitry Peskov told reporters he was "not aware of the president's plans to congratulate Trump." Peskov added: "Let's not forget that we are talking about the unfriendly country that is both directly and indirectly involved in a war against our state."

Russian Foreign Ministry spokesperson Maria Zakharova, meanwhile, posted to X with a video of Harris reciting a psalm during the campaign. "Weeping may endure for a night, but joy comes in the morning," Harris said in the video. Zakharova wrote, "Hallelujah, I'll add on my own."

In a later post, Zakharova said, "Those who live by love for their country, and not by hatred for others, win."

The Foreign Ministry issued a standalone statement Wednesday saying the country "will work with the new administration when it 'settles' in the White House, firmly defending Russia's national interests and focusing on achieving all the goals of the special military operation. Our conditions are unchanged and well known in Washington."

Former Russian President and Prime Minister Dmitry Medvedev wrote on Telegram that Trump "has one quality that is useful for us: as a businessman to the core, he mortally dislikes spending money on various hangers-on" and "idiotic allies," suggesting his election may be a curb on American aid to Ukraine.

"The question is how much will Trump be forced to give for the war," Medvedev -- who is now the deputy chairman of Russia's Security Council -- wrote. "He is stubborn, but the system is stronger."

Belarusian President Alexander Lukashenko -- one of Russia's closest allies -- said during a press conference that Trump is "an ardent capitalist who won the U.S. elections" while "all of Europe," including Belarus, "is oriented toward socialism."

NATO Secretary-General Mark Rutte said Trump's leadership "will again be key to keeping our alliance strong." He added, "I look forward to working with him again to advance peace through strength through NATO."

Ursula von der Leyen, the president of the European Commission, wrote on social media, "I warmly congratulate Donald J. Trump."

"The EU and the U.S. are more than just allies," she added. "We are bound by a true partnership between our people, uniting 800 million citizens. So let's work together on a strong transatlantic agenda that keeps delivering for them."

British Prime Minister Keir Starmer in a statement congratulated Trump on a "historic election victory." He added: "I look forward to working with you in the years ahead. As the closest of allies, we stand shoulder to shoulder in defense of our shared values of freedom, democracy and enterprise.

Italian Prime Minister Giorgia Meloni wrote on X, "Good work Mr. President."

"Italy and the United States are 'sister' nations, linked by an unshakable alliance, common values and a historic friendship," she wrote. "It is a strategic bond, which I am sure we will now strengthen even further."

Turkish President Recep Tayyip Erdogan described Trump as a "friend" in his congratulatory post to X.

"I hope that Turkey-U.S. relations will strengthen, that regional and global crises and wars, especially the Palestinian issue and the Russia-Ukraine war, will come to an end," Erdogan said.

Polish President Andrzej Duda posted on X to Trump: "You made it happen!"

Serbian President Aleksandar Vucic posted a photograph of himself standing with Trump in the Oval Office, writing alongside it: "Together we face the serious challenges ahead. Serbia is committed to cooperation with the USA on stability, prosperity and peace."

The leaders of both India and Pakistan were quick to offer their best wishes. Indian Prime Minister Narendra Modi wrote: "As you build on the successes of your previous term, I look forward to renewing our collaboration to further strengthen the India-U.S. Comprehensive Global and Strategic Partnership. Together, let's work for the betterment of our people and to promote global peace, stability and prosperity."

Across the border in Pakistan, Prime Minister Shahbaz Sharif said he is looking "forward to working closely with the incoming administration to further strengthen and broaden the Pakistan-U.S. partnership."

South Korean President Yoon Suk-Yeol also tweeted a congratulatory message. "Under your strong leadership, the future of the [Republic of Korea]-U.S. alliance and America will shine brighter," he said. "Look forward to working closely with you."

Taiwanese President Lai Ching-te congratulated Trump and also thanked President Joe Biden and Harris "for their firm support for Taiwan during their term in office," according to a statement from the Taiwanese Presidential Office.

"No matter which political party has been in power, Taiwan-U.S. relations have not only become stronger but also continued to progress and deepen," the office added. "Building on the existing foundation, we will work hand in hand with the new U.S. administration and Congress to create a new situation in Taiwan-U.S. relations."

ABC News' Tom Soufi Burridge, Bruno Nota, Morgan Winsor, Habibullah Khan, Joohee Cho and Ayat Al-Tawy contributed to this article.