Seventy-six police officers have been injured in clashes with protesters in Germany's city of Hamburg, where a G20 summit starts shortly.
The clashes began when police charged at masked protesters at a "Welcome to hell" march attended by 12,000 people.
World leaders - including US President Donald Trump - will discuss climate change, trade and other major issues.
Police fired water cannon and pepper spray at masked protesters, who hurled bottles, stones and flares.
Organisers cancelled the march where the first clashes took place, but protesters remained on the streets and police said violence spread to other areas of the city.
Protesters built makeshift barricades, set vehicles alight, damaged businesses and repeatedly shone a laser at a police helicopter to dazzle its pilot, police said.
Medics were seen treating several people. At least one person appeared to have been seriously hurt and was carried away covered by a foil blanket.
Before the march, police had warned of possible violence and said they had confiscated a number of homemade weapons.
Some 20,000 police have been deployed in Hamburg for the summit, and security cordons have been erected to prevent protesters reaching the venues. Up to 100,000 protesters are expected in Hamburg during Friday and Saturday.
G20 discordThe G20 leaders face their own disagreements, including over climate change and trade.
Mr Trump has already met German Chancellor Angela Merkel and the pair spent an hour talking about North Korea, the Middle East, the conflict in eastern Ukraine and G20 issues, a German government spokesman said.
The summit will also see Mr Trump meet Russian President Vladimir Putin for the first time. The meeting will take place at 14:45 local time (13:45 GMT) and last for an hour, Russian media report.
Russia 'destabilising' UkraineEarlier in the day Mr Trump used a speech in the Polish capital Warsaw to call on Russia to stop "destabilising" Ukraine and other countries.
Russia should also end support for "hostile regimes" such as those in Syria and Iran and "join the community of responsible nations", he said.
He urged Russia to join the "fight against common enemies and in defence of civilisation itself".
The Kremlin rejected his comments.
Mr Trump referred to Russia's "destabilising" behaviour twice in one day in Poland. But the Kremlin spokesman has shrugged that off, saying simply that Moscow "does not agree". It's all part of the wait-and-see approach here.
Russia once had great hopes that Donald Trump could rescue relations from the pit into which they were plunged after it annexed Crimea from Ukraine. Almost six months into the Trump presidency, there may be increasing pessimism.
But the Kremlin is calling Mr Trump's meeting with Mr Putin on Friday an important chance to get acquainted. Perhaps it is betting that personal dynamics will help overcome policy differences.
After all, officials here insist that it is simply "Russophobia" in the US that has prevented President Trump "getting along" with Russia as he said he wanted.
They have certainly noted how in Poland he shied away from accusing Russia unequivocally of meddling in the US elections. Moscow has argued all along that there is no proof. In public at least, Mr Trump appeared to agree with that.
The US leader also hailed Poland as an example of a country ready to defend Western freedoms.
Click here to read why Trump Poland first in this trip.