Shocking dash cam footage captures the moment when a police car in Madera, Calif. came under fire while trying to pull over a white Mazda. And this while a woman was riding in the vehicle during a ride-along. (SOURCE: NY DAILY NEWS)

The female passenger then screams as she notices the squad car about to be shot at.

"He has a gun! No, no, no, no," she shouts.

The officer confirms this, saying, "Shots fired."

The squad car turns a corner and gunfire is visible. Someone firing from the Mazda's passenger side shoots 12 times and three shots hit and disable the police vehicle.

The police department later shared photos of the aftermath, which capture the blown-out windows of the squad car. Police said the suspect abandoned a gun in the car but this assailant has not been caught, ABC points out.

Police said the officer was not injured, while the woman suffered minor cuts from broken glass, ABC clarifies.