The first showdown between Kamala Harris and Donald Trump was closely watched not only in the US but around the world.
The debate in Philadelphia featured some tense exchanges on foreign policy between the two presidential candidates.
From Beijing to Budapest, here’s how the debate went down, according to BBC foreign correspondents.
By Steve Rosenberg, Russia editor, Moscow
Kamala Harris told Donald Trump that President Putin is “a dictator who would eat you for lunch.”
The expression “to eat someone for lunch” (or breakfast, or any other meal) doesn’t exist in Russian. But one thing you will find in Moscow is the appetite for a US election result that benefits Russia.
The Kremlin will have noted (with pleasure) that in the debate Trump sidestepped the question about whether he wants Ukraine to win the war.
“I want the war to stop,” replied Trump.
By contrast, Harris spoke of Ukraine’s “righteous defence” and accused Vladimir Putin of having “his eyes on the rest of Europe”.
Later the Kremlin claimed to have been irked by all mentions of Putin in the debate.
“Putin’s name is used as one of the instruments for the internal battle in the US,” Kremlin spokesman Dmitry Peskov told me.
“We don’t like this and hope they will keep our president’s name out of this.”
Last week Putin claimed he was backing Harris in the election and praised her “infectious laugh.”
Later a Russian state TV anchor clarified that Putin had been “slightly ironic” in his comments.
The presenter was dismissive of Harris’ political skills and suggested she would be better off hosting a TV cooking show.
I wonder: would it feature “dictators” eating US presidential candidates “for lunch”…?
By Nick Beake, Europe correspondent, Kyiv
Donald Trump’s failure, when asked on the debate stage to say if he wanted Ukraine to win the war, may not have surprised people here but it adds to their worry about what a second Trump term would bring.
Trump has long boasted he could end in the conflict in 24 hours, a prospect many Ukrainians assume would mean an incredibly bad deal with Kyiv forced to give up huge swathes of the land Russia has seized over the past two and a half years.
In contrast, Ukrainians will have been reassured by Kamala Harris’s responses, with no sign she would deviate from the current position of staunch American support.
She took credit for the role she’s already played, arguing she shared important intelligence with President Zelensky in the days before the full-scale invasion.
She then claimed Trump’s position would have been fatal for Ukraine had he still been in the White House. “If Donald Trump were president, Putin would be sitting in Kyiv right now.”
Publicly, there has been a deafening silence from Ukraine’s current ministers and senior military in reaction to the debate. The figurative US electoral battle is one they need not weigh in to while they’re consumed by real fighting at home.
It’s President Zelensky himself who so far has gone furthest in articulating, albeit somewhat euphemistically, what a Trump victory would mean for Ukrainians.
Speaking to the BBC in July, he said it would mean “hard work, but we are hard workers”.
By Lyse Doucet, chief international correspondent
America’s longest war ended in August 2021 when it scrambled to pull out the last of its troops, and evacuate thousands of civilians, as the Taliban swept into Kabul with surprising speed.
That debacle made it into the debate and, not surprisingly, the issues were dodged, dismissed, distorted.
Harris veered away from the question “do you bear any responsibility in the way that withdrawal played out?”.
As a correspondent who followed the chaotic pullout closely, I never heard that the vice-president was in the room when decisions were taken in those final fateful weeks. But she made it clear she agreed with President Biden’s decision to leave.
Trump boasted that he talked tough with “Abdul”, the “head of the Taliban” who is “still the head of the Taliban.”
He seemed to be referring to Abdul Ghani Baradar, who signed the withdrawal deal with the US. But he never headed the Taliban, and has been sidelined since the Taliban takeover.
The mention immediately prompted a wave of internet memes featuring “Abdul” with people named Abdul weighing in, and others asking “who is Abdul?”
Both contenders focused on the flawed deal with the Taliban. The truth is that the Trump team negotiated this exit plan; the Biden team hastily enacted it.
Trump said the deal was good because “we were getting out”.
There were no good ways to go. But the departure turned into a disaster and all sides are to blame.
By Laura Bicker, China correspondent, Beijing
Kamala Harris was an unknown quantity to leaders here and she still is, even after the debate.
She has no track record on China and on the debate stage she simply repeated her line that the US, not China, would win the competition for the 21st Century.
The vice-president represents something China does not like – uncertainty.
That is why President Xi recently used a visit by US officials to call for “stability” between the two superpowers, perhaps a message to the current vice-president.
The prevailing view among Chinese academics is that she will not stray too far from President Biden’s slow and steady diplomatic approach.
But on the debate stage she went on the attack and accused Donald Trump of “selling American chips to China to help them improve and modernise their military”.
Donald Trump has made it clear he plans has to impose 60% tariffs on Chinese goods.
China retaliated, and numerous studies suggest this caused economic pain for both sides.
This is the last thing China wants right now as it is trying to manufacture and export goods to rescue its economy.
For Chinese leaders, this debate will have done little to assuage beliefs that Trump represents something else they don’t like – unpredictability.
But in truth, there is little hope here that US policy on China will change significantly, no matter who sits in the White House.
By Paul Adams, international correspondent, Jerusalem
The two candidates did not stray much from their previously stated positions last night, even if Trump did add, with characteristic hyperbole, that Israel wouldn’t exist in two years if his opponent becomes president.
Here in the Middle East, the race for the White House is being keenly watched.
With the war in Gaza raging and a ceasefire deal still elusive, some of Benjamin Netanyahu’s critics suspect that Israel’s prime minister is deliberately stalling until after the election, in the hope that Trump will be more sympathetic to Israel than Harris.
There’s a whiff of history perhaps being about to repeat itself.
In 1980, Ronald Reagan’s campaign team was suspected of urging Iran not to release American hostages held in Tehran until after he had beaten President Jimmy Carter, saying Reagan would give Iran a better deal.
Could something similar be afoot now? Certainly Netanyahu’s opponents believe he is now the chief obstacle to a ceasefire deal.
Harris has indicated that she might be tougher on Israel than Joe Biden, something Trump has seized on, saying last night that the vice-president “hates Israel”.
Palestinians, deeply sceptical about Donald Trump but dismayed by the Biden administration’s inability to stop the war in Gaza, are possibly inclined to see Harris as the lesser of two evils.
They’ve long since abandoned any notion of the US as an honest broker in the Middle East, but will have noticed that Harris, unlike Trump, says she’s committed to Palestinian statehood.
By Nick Thorpe, Central Europe correspondent, Budapest
Donald Trump showered praise on the Hungarian prime minister.
“Viktor Orban, one of the most respected men, they call him a strong man. He’s a tough person. Smart…”
Hungarian pro-government media picked up on the compliment. “Huge recognition!” ran the headline in Magyar Nemzet.
But government-critical news portal 444 quoted Tim Walz, running mate of Harris.
“He [Trump] was asked to name one world leader who was with him, and he said Orban. Dear God. That’s all we need to know.’
Viktor Orban backed Trump for president in 2016 and is strongly backing him again in November.
The two men met for the second time this year at Trump’s home in Florida on 12 July, after Orban visited Kyiv, Moscow and Beijing in quick succession.
The Orban government is banking both on Trump’s victory and his ability to swiftly end the war in Ukraine.
“Things are changing. If Trump comes back, there will be peace. It will be established by him without the Europeans,” Balazs Orban, Viktor Orban’s political director, told the BBC in July.
Remains of car that exploded in Sevastopol killing Russian naval officerFor free real time breaking news alerts sent straight to your inbox sign up to our break
Getty ImagesMr Adani's sprawling $169bn empire spans ports and renewable energyJust weeks ago, Gautam Adani, one of the world’s richest men, celebrated Donald
Matt Gaetz withdraws consideration for Attorney General positionSign up for the daily Inside Washington email for exclusive US coverage and analysis sent to you
Elon Musk has said UK MPs “will be summoned to the United States of America to explain their censorship and threats to American citizens” in a fresh escalat