Donald Trump supporters leaving the presidential candidate's rally in California clashed with protesters, some of whom threw punches and eggs.
A dozen or more people were hit and car windows were broken. Trump hats grabbed from supporters were set on fire on the ground and at least one woman was pelted with an egg.
Police stood their ground at first but after about 90 minutes moved into the remaining crowd to break it up and make arrests. At least four people were taken into custody, though police did not release total arrest figures on Thursday night. One officer was assaulted.
The crowd, which had numbered over 300 just after the rally, thinned significantly as the night went on, but those who remained near the San Jose Convention Centre were rowdy and angry.
Some banged on the cars of Trump supporters as they left the rally and chased after those on foot.
Mayor Sam Liccardo, a Democrat and Hillary Clinton supporter, criticised Mr Trump for coming to cities and igniting problems that local police departments had to deal with.
"At some point Donald Trump needs to take responsibility for the irresponsible behaviour of his campaign," Mr Liccardo said.
Mrs Clinton and Democratic opponent Bernie Sanders will also make campaign stops in the state on Friday in California as they look to Tuesday's state primary.
Mr Trump, the presumptive Republican nominee, spoke for about 50 minutes at the rally, sniping at Mrs Clinton and calling her speech on foreign policy earlier in the day "pathetic" and "sad to watch".
Protesters before the speech included Adam Rivas, a 22-year-old community college student who was born and raised in San Jose, California. He was holding a spray-painted sign that read "Dump Trump".
Mr Rivas said he was particularly disturbed by Mr Trump's remarks about Mexicans.
"For any one Mexican here he bashes, there are about 20 Mexicans out there who are hard-working and just doing their job," he said.
Trump supporter Debbie Tracey, a US Navy veteran from San Jose, said she came to hear Mr Trump speak, and left his rally with two hats, a t-shirt and a handful of signs that said "Veterans for Trump".
Passing in front of a wall of protesters, many chanting in Spanish, she said she supported Mr Trump's call for a wall along the US-Mexico border.
"I'll go help build the wall because if you are going to come to this country, land of opportunity, you should be here legally," she said.