Among the agenda items the Italian presidency has had to capitulate on is a substantial reference to tackling climate change.
"(This declaration) is also a strong message of solidarity to the United Kingdom after what happened in Manchester", Italian Prime Minister Gentiloni said as the document was passed around the table, where each of the leaders signed it in turn.
One of the No G7 leaders, Gianmarco Catalano, said "the black bloc are a media invention" and are in fact "infiltrators from other places, from those who don't want to let the voices from below be heard".
(AP Photo/Salvatore Cavalli). From left, President of the European Council Donald Tusk gesticulates as he talks with German Chancellor Angela Merkel, French newly elected President Emmanuel Macron, partially hidden, British PM Theresa May.
European Union council President Donald Tusk Canada PM Justin Trudeau, German chancellor Angela Merkel, US president Donald Trump, Great Britain PM Theresa May, Italy's PM Paolo Gentiloni, president of France Emmanuel Macron, Japan PM Shinzo Abe and president of the European Union commission Jean-Claude Juncker.
In January, May was the first world leader to visit the White House after Trump took office.
"We agreed the threat from Daesh [the Islamic State group] is evolving rather than disappearing", Mrs May said.
Trudeau says Pope appeared 'open' to idea of a residential schools apology
Children robbed of their identity, and banned from speaking their native language or taking part in their culture. While in Italy, he also visited the Roma Soccer Club Stadium and will meet Italy's prime minister and president.
But the summit in Taormina, Sicily, failed to agree on climate change.
Residents of the hilltop Sicilian town of Taormina are cheering and waving as the leaders of the Group of Seven wealthy democracies pass by - a rarity for global summits, where ordinary people are usually kept far away for security reasons.
The leaders pause for a talk before the traditional "family photograph".
The two leaders also found common ground on terrorism, following the attack on a pop concert in Manchester that killed 22 people.
Asked about the comments Friday, a spokesman for Germany's environment ministry says "we expressly don't share the view that protecting the climate harms economic growth".
Juncker tried to play down the comments ahead of the summit.
The first day of the summit on Friday failed to make progress on narrowing differences between the U.S. and its partners as Trump is still reviewing Washington's position. On Friday, the Washington Post reported that Trump's son-in-law and senior adviser Jared Kushner spoke with Russia's ambassador to the USA about setting up secret communications with Moscow.
After starting his first presidential trip overseas wreathed in smiles, Trump is ending it with rebukes, upbraiding America's European partners over military spending, trade and global warming. His lawyer said Kushner will cooperate with investigators.