It started just after 9 pm on Monday.
[Ads /]
The Fresno County Sheriff's Office said the suspect shot at another vehicle near Reed and Goodfellow Avenues, north of Reedley.
Deputies eventually found the suspect driving in the area and tried to pull him over, but he refused to stop.
The deputies chased him into Fresno and out to Sanger at speeds of up to 100 miles an hour until they stopped and let the sheriff's office helicopter continue following him from overhead.
Investigators say the man stopped at an apartment complex on Adams Avenue near Jacobs Avenue in Orange Cove.
He barricaded himself inside an apartment and refused to come out for about two hours.
[Ads /]
Sheriff's officials say at around 5:30 am on Tuesday, deputies were able to get a search warrant to enter the apartment.
The man was taken into custody. His name has not yet been released.
He'll be booked into the Fresno County Jail on multiple charges, including discharging a firearm, resisting arrest and vehicle pursuit.
No one was hurt.