A pursuit that began in San Bernardino County ended in Kern County, about 85 miles north, on Monday afternoon. Seven people were taken into custody.
The high-speed pursuit began when a drive-by shooting occurred in Rialto, according to the Fontana Police Department.
Officers were in the area, spotted the white Toyota Camry and a pursuit began.
No shots were fired at officers or from officers during the pursuit, police said.
The car was described as a white 2014 Toyota Camry.
The driver was heading northbound, traveling 110 mph. At one point, an undercover officer crashed, striking another vehicle, in Victorville.
The civilian was taken to a hospital with a complaint of pain. The officer was not injured.
Video from Southern California's police pursuits and follow-ups on what happened after the chase
The pursuit ended on the 58 Freeway in Edwards, California, when the driver ran out of gas and pulled over, police said.
Seven people were taken into custody, including one person who was inside the trunk.
The suspects are believed to be active gang members, according to the Fontana Police Department.