Video captured a crowd attacking a California Highway Patrol vehicle in Fresno with an officer inside last week.
The incident took place last weekend, and three men have since been arrested in connection with the case.
The video shows the assailants punching, kicking and throwing objects at the CHP SUV before the officer is about to drive away.
One suspect "admitted to kicking the CHP vehicle and said he did so because he was upset with the CHP because a CHP officer recently towed his vehicle," Fresno Police Chief Jerry Dyer told ABC30. "There were several other people that were kicking the sides of the CHP vehicle. People there were other people that were chanting, yelling, 'F the police, we run the streets.'"
The suspect caused about $12,000 damage to the car, according to the Fresno Bee, which said the attack occurred in connection with a street-racing "sideshow" event.