US President Donald Trump has called Justin Trudeau "two-faced" over a video in which the Canadian leader appears to mock him at a meeting of Nato leaders.
Footage showed Mr Trudeau, UK PM Boris Johnson and French leader Emmanuel Macron discussing an impromptu press conference held by Mr Trump.
Nato leaders agreed a statement of unity but the 70th anniversary meeting held near London also saw several rows.
Mr Trump cancelled a press conference planned for after the summit.
He told reporters: "We'll go directly back. I think we've done plenty of news conferences."
What was in the video?
The brief video posted on Twitter by Canada's public broadcaster, CBC, showed Mr Trudeau chatting with a group of leaders, including Mr Johnson, Mr Macron, Dutch Prime Minister Mark Rutte, and Queen Elizabeth's daughter Princess Anne at Buckingham Palace.
At the start of the footage, Mr Johnson asked Mr Macron: "Is that why you were late?"
Mr Trudeau then interjects: "He was late because he takes a 40-minute press conference off the top."
Mr Macron then appears to tell an anecdote, but his words are drowned out by background noise. An amused Mr Trudeau then replies: "Oh yeah, yeah, he announced... [inaudible]. You just watched his team's jaw drop to the floor."
None of them appeared to realise they were being recorded.
In response, Mr Trump said of Mr Trudeau: "He's two-faced... I find him to be a nice guy, but the truth is I called him out on the fact that he's not paying 2% [of national GDP towards defence] and I guess he's not very happy about it.
"He's not paying 2% and he should be paying 2%. Canada - they have money. Look, I'm representing the US and he should be paying more than he's paying, he understands it... I can imagine he's not that happy but that's the way it is."
Asked about the video, Mr Johnson told reporters: "It's complete nonsense. I don't know where that's come from."
Mr Trudeau later told reporters that they hadn't been laughing about Mr Trump's press conference, but about the location of the next G7 summit - Camp David, the US presidential country retreat.
"I have a very good relationship with Trump," he added.
What did the leaders' joint statement say?
In the statement, Nato leaders said: "To stay secure we must look to the future together."
It then acknowledged the "challenges" posed by China and Russia, and pledged to take "stronger action" against terrorism.
Nato Secretary General Jens Stoltenberg cited increased spending commitments on defence by European allies and Canada, saying: "Nato is the most successful alliance in history because we've changed as the world has changed."
On Tuesday, he said those nations had added $130bn (£100bn) to defence budgets since 2016, and that this number would increase to $400bn by 2024. Mr Trump has frequently and forcefully criticised how much other allies spend on defence.
How sharp were the exchanges?
The first day of the special anniversary summit saw tensions bubble to the surface, with Mr Trump and Mr Macron sparring over Nato's role, Turkey, and Islamic State group (IS) fighters during a news conference.
Relations between the two leaders were already strained amid a dispute over taxes and trade, and comments from the French president last month that the US commitment to the alliance was fading.
Mr Trump, who once called Nato "obsolete", had earlier hit back by saying Mr Macron had been "very disrespectful" by describing Nato as "brain dead", calling them "nasty" comments. Mr Macron said he stood by his remarks.
President Trump and Mr Johnson held unscheduled bilateral talks and, ahead of Wednesday's talks, Mr Trump tweeted they both had "talked about numerous subjects including Nato and trade".
What's the background to the tensions?
Nato, the North Atlantic Treaty Organisation, started out in 1949 with just 12 countries as members but having now expanded to a bloc of 29, it is increasingly difficult for the alliance to project a united front.
Nato estimates for 2019 show there are now eight countries - in addition to the US - meeting the target agreed by all members to spend 2% or more of their gross domestic product (GDP, a measure of economic output) on defence.
Before departing for London, Turkish President Recep Tayyip Erdogan also said he would oppose a Nato defence plan for the Baltic region and Poland if the bloc did not support Turkey over its fight against Kurdish groups in Syria it considers terrorists.
Mr Stoltenberg later told reporters that the alliance had been able to resolve the disagreement with Turkey, allowing Nato's plans to go ahead.
As well as the Turkish issue, talks had centred on the rising threats of China and Russia.
After the summit, Mr Macron said that while Russia was a threat to Nato in some respects, in others the country could be a "partner".
"Around the table, would everyone recognise Russia as an enemy? I don't think that is the case," he told a news conference.
"On some topics Russia is seen as a threat, this is true... But Russia is also a partner in some issues. We're working and having concrete discussions with Russia on certain issues."
BDST: 1536 HRS, DEC 05, 2019