MADERA, CA (NBC) — A police pursuit turned into a shootout early Sunday morning in California, with the entire incident caught on camera.

Dashcam video showed the Madera police officer attempt to pull over a white Mazda SUV.

But the vehicle failed to stop and led the officer on a pursuit.

The front passenger in the SUV then pointed a firearm out the window and fired nine rounds at the officer’s vehicle.

The officer continued to pursue, but the gunman fired four more rounds, striking the officer’s windshield and disabling the vehicle.

Police say the vehicle was later found abandoned a few blocks away, and the suspects remain at large.

An AR-15-style gun and other evidence was also found near the car.

The officer was not hurt, but a civilian ride-along who was in the front passenger seat received minor injuries from the broken glass.

Join our Newsletter for the latest news right to your inbox