Some of them drew hundreds of people as cars took over numerous intersections.
[Ads /]
RELATED: Fourth of July: Illegal fireworks light up Bay Area skies, spark fires across region
As officers moved in on one of them, they say spectators threw firecrackers and at least one person was arrested for blocking first responders.
Gunshots were also heard as officers had some of the vehicles towed.
[Ads /]
You can see video of the incident in the media player posted above.
VIDEO: 7 shootings, sideshows, illegal fireworks: 'Nonstop chaos' in Oakland for July 4th, chief says
4th of July was '12 hours of nonstop chaos,' Oakland chief says