Leaders of the world’s leading industrial nations, the G7, have agreed on new action to counter terrorism at a summit in Taormina, Sicily.
However, differences over climate change remain between US President Donald Trump and the others, said the host, Italian PM Paolo Gentiloni.
Mr Trump and UK Prime Minister Theresa May reaffirmed plans to boost trade, including a post-Brexit trade deal.
Mr Trump has welcomed the UK’s vote to leave the European Union.
They are both attending their first G7 summit, as are Mr Gentiloni and French President Emmanuel Macron.
The G7 consists of Canada, France, Germany, Italy, Japan, the UK and the US, while the EU also has representatives present.
- Trump avoids diplomatic disaster in Brussels
- Nato and Trump: What future for the Atlantic alliance?
What did they say about terrorism?
They signed an agreement on tackling terrorism and extremism.
The agreement says more should be done by internet companies to identify and remove extremist material.
The summit comes just days after Monday’s deadly bombing in Manchester in which 22 people, including children, were killed.
Why no deal on climate change?
Mr Gentiloni said the leaders had not managed to come to an agreement on climate change because the Trump administration was still considering its position.
President Trump has previously threatened to pull out of the Paris Climate Change Accord of 2015.
“The question of the Paris climate accord is still hanging,” said Mr Gentiloni.
- Can ‘first daughter’ save climate accord?
- Paris deal is ‘lifeline’ for world’s poor
What did Trump say about the Germans?
Other G7 leaders are concerned the US president might promote a protectionist agenda.
German weekly Der Spiegel quoted Mr Trump as saying in a meeting with European Commission President Jean-Claude Juncker on Thursday that Germans were “very bad” on its car sales to the US, and vowed to “stop this”.
Mr Juncker later described the media reports as exaggerated, and said it was “not true that the president took an aggressive approach” towards Germany.
During his election campaign Mr Trump threatened customs duties in retaliation for Germany’s trade surplus with the US, saying it owed “vast sums of money” to the US and Nato.
Speaking ahead of the summit, White House economic adviser Gary Cohn sought to clarify the president’s position.
“What the president means by free and open is, we will treat you the way you treat us, meaning if you don’t have barriers to trade or you don’t have tariffs, we won’t have tariffs,” he said, according to Reuters news agency.
- Will Trump mean the end of global trade?
What did Trump and Abe decide?
The US president and Japanese Prime Minister Shinzo Abe discussed the nuclear and missile threat from North Korea.
They agreed to “enhance sanctions on North Korea, including by identifying and sanctioning entities that support North Korea’s ballistic missile and nuclear programs”, the White House said.
What else has happened in Trump’s first foreign tour?
Addressing a Nato summit in Brussels on Thursday, Mr Trump insisted that all members of the alliance should contribute more financially on defence.
Nato states’ contributions are voluntary and a target of spending 2% of GDP on defence is only a guideline, but the US is concerned that members are not paying enough.
The bloc later agreed that member states would report back annually on defence spending to Nato.
It also said it would take a bigger role in the campaign against IS militants, but France and Germany have insisted the move is mostly symbolic.
The G7 summit brings Mr Trump’s first foreign tour as US president to a close. Earlier in the week, he said he was “more determined than ever” to pursue peace in the world after meeting Pope Francis at the Vatican.
Before that, he vowed to help Israelis and Palestinians achieve peace, as he ended the Middle East leg of his tour.
He began his foreign trip with a two-day stop in Saudi Arabia over the weekend, urging Muslim countries to take the lead in combating radicalisation.