G7 nations concluded a summit on Saturday with an impasse over climate change as US President Donald Trump rebuffed pressure to toe the collective line in the club of powerful democracies.
Trump tweeted that he would make a decision next week on whether to back the 2015 Paris Agreement on curbing carbon emissions following lengthy discussions with G7 partners.
I will make my final decision on the Paris Accord next week!— Donald J. Trump (@realDonaldTrump) May 27, 2017
Trump during his campaign for the White House had called global warming a hoax and vowed to pull out of the pact.
The summit of Group of Seven wealthy nations pitted Trump against the leaders of Germany, France, Britain, Italy, Canada and Japan on several issues.
The European diplomats found themselves frustrated at having to revisit questions they hoped were long settled.
"The entire discussion about climate was very difficult, if not to say very dissatisfying," German Chancellor Angela Merkel told reporters.
"There are no indications whether the United States will stay in the Paris Agreement or not," she said.
TRT World's Francis Collings reports from Sicily.
Agreement on protectionism
However, there was relief that Trump agreed to language in the final G7 communique that pledged to fight protectionism and commits to a rules-based international trade system.
During his election campaign last year, Trump threatened unilateral tariffs on Mexican and Chinese goods and said he would quit the North American Free Trade agreement unless it is renegotiated to his liking.
Earlier this week he called Germany "very bad" on trade because of its surplus with the US.
Meeting in a luxury hotel overlooking the Mediterranean sea, hosts Italy had hoped that the summit would focus on Europe's migration crisis and the problems of neighbouring Africa.
The internal G7 divisions and a suicide bombing in Britain on Monday, that killed 22, overshadowed the Italian agenda.
Niger President Mahamadou Issoufou urged the G7 to take urgent measures to end the crisis in Libya -- the point of departure for hundreds of thousands of migrants looking for a better life in Europe.
He also criticised them for not honouring aid promises to fight poverty in West Africa's poorest regions.
Diplomats said that on other key international issues, such as Syria and North Korea, there was broad G7 agreement.
However, Italy was disappointed not to receive more backing for its call to open up more legal channels for immigration to try to slow the flow of people risking their lives to reach Europe on flimsy boats from lawless Libya.
Action against Russia
After lengthy deliberation, the document included a separate threat, that was inserted into the 2016 G7 statement, to take additional action against Russia, if warranted, for its intervention in Ukraine.
The European Union and the US imposed sanctions on Russia after Moscow annexed Crimea from Ukraine in 2014 and pledged to up the penalties if Russian interference in Ukraine intensified.
Trump's promise of warmer ties with Moscow had called into question the US commitment to sanctions.
Security questions dominated initial G7 discussion on Friday and the leaders called on internet service providers and social media firms to "substantially increase" their efforts to rein in extremist content.
Trump ends first foreign trip
The US president is due to return to Washington later on Saturday at the end of a nine-day tour of the Middle East and Europe -- his first foreign trip since taking office.
Unlike other G7 leaders, he is not due to give a press conference before flying out.
US officials said he had enjoyed "robust" conversations with his allies in Sicily and had also learnt a lot -- especially in the debate on climate change, which he has previously dismissed as a hoax.