A 22-year-old Bakersfield man was arrested early Sunday after allegedly firing multiple shots at a Bakersfield police patrol car.

The shooting occurred around 2 a.m. as police were pursuing a stolen car near Haley and Eureka streets in east Bakersfield. As the officers tried to stop the vehicle the driver fled.

While police drove south on Haley Street using their lights and sirens, Walter Michael Kai Williams allegedly shouted at them as he walked north on Haley Street, according to a police news release.

He then allegedly pulled out a handgun and fired multiple rounds at the passing patrol car. None of the shots hit the car or surrounding people.

A nearby officer confronted Williams, who discarded the weapon and ran. Police quickly apprehended him and recovered the gun, which was reported stolen.

Officers fired no shots.

Williams, a known gang member who was on post-release community supervision, was arrested on suspicion of attempted murder, weapons charges, possession of stolen property and participation in a criminal street gang. He was booked into the Kern County Jail.

The occupants of the stolen vehicle surrendered nearby, but are not believed to be involved in the shooting.

Anyone with information about the case is asked to call the BPD at 327-7111.