Tens of thousands of people have taken to the streets in Brazil to demonstrate against the government.
Organisers said 50,000 people - a record number - turned out in Sao Paulo alone for a seventh day of protests against the new President Michel Temer.
Mr Temer took office after Dilma Rousseff was removed from the presidency in an impeachment trial.
The rally began peacefully but police used tear gas, stun grenades and water cannon as clashes broke out at the end.
They said they had been forced to take the measures to avoid vandalism.
Several people were reportedly injured including a BBC journalist.
Some protesters responded by throwing bottles and stones at riot police, and building and setting fire to barricades.
Mr Temer said the protests were "small groups, not popular movements of any size".
While at a G20 summit in China, he told reporters: "in a population of 204 million Brazilians, they are not representative."
A group of riot police suddenly decided to change course. I leaned against the wall to wait for them to pass.
I was wearing a BBC Brazil vest and badge and I raised my hands and said I was press.
"Move over!" said at least four police just before catching me with truncheon blows on the right forearm, left hand, right shoulder, chest and right leg.
My forearm swelled up and turned purple. The phone I was using fell to the ground and the screen was broken. Luckily, the blow I took to the chest was cushioned by the vest I was wearing. I also wore a helmet and gas mask - complying with internal BBC rules for covering demonstrations.
The Secretariat of Public Security of Sao Paulo said that "the facts narrated by the reporter will be investigated and the journalist should file a police report".
Brazil's Senate voted to remove Dilma Rousseff from office last week, for manipulating government accounts to hide a shortfall in the government's budget.