Leaders are entering the final day of talks at the G20 meeting in Hamburg as officials try to bridge the gap with the US on issues such as trade and climate change.
German Chancellor Angela Merkel, who is hosting the summit in Hamburg, said the talks so far had been “very difficult”.
Negotiators worked through the night in an attempt to reach a compromise on the wording of the final summit statement.
It comes after a second night of violent protests on Hamburg’s streets.
The G20 (Group of Twenty) is a summit for 19 countries, both developed and developing, plus the EU.
What about those ‘difficult’ issues?
Leaders at the summit are struggling to find common ground with the US following President Donald Trump’s decision to withdraw from the Paris climate agreement last month.
One unresolved section of the G20 communique is linked to the US desire to have a reference to fossil fuels – according to reports quoting unnamed EU officials.
A separate issue is Mr Trump’s rejection of free trade – although the president has said that he is not opposed to trade in principle, his position is that any trade deals agreed have to protect US industry.
Mrs Merkel said on Friday: “The discussions are very difficult, I don’t want to talk around that.”
She added that she hoped that the differences with the US would not affect the commitments made by other nations.
Why do parts of Hamburg resemble a war zone?
Mrs Merkel’s comments came amid large protests on the streets of Hamburg, with demonstrators and heavily armed police clashing into the early hours of Saturday.
Demonstrators – who were protesting against the presence of Mr Trump and Mr Putin, climate change and global wealth inequalities – set fire to vehicles and barricades, threw rocks at officers and looted shops.
At one point, police chased protesters across rooftops while officers on the streets used water cannon on protesters.
Nearly 200 police officers were injured during the protests.
German military officers were later despatched to help bring order to Hamburg’s streets.
Dozens of protesters have been detained by police.
Mrs Merkel said she could understand peaceful protests, but said that demonstrations that “put lives in danger” were “unacceptable”.
What happened when Trump met Putin?
Mr Trump used his first meeting with Russian President Vladimir Putin on the sidelines of the G20 to discuss the alleged Russian hacking of last year’s US presidential election.
Both sides called the meeting positive – but differed in their descriptions of the hacking discussion.
Russian Foreign Minister Sergei Lavrov said “President Trump said he heard clear statements… that Russian authorities did not intervene [in the US election], and he accepted these declarations.”
However, US Secretary of State Rex Tillerson said Mr Trump “opened the meeting with President Putin by raising the concerns of the American people regarding Russian interference in the 2016 election.
“They had a very robust and lengthy exchange on the subject. The president pressed President Putin on more than one occasion regarding Russian involvement.”
He said it was not clear whether the two countries would ever come to an agreement on what happened.
Other topics discussed during their meeting – which lasted nearly two-and-a-quarter hours, longer than originally planned – included the war in Syria, terrorism and cybersecurity.