No officers were injured during the shooting.
The gunfire struck two of three suspects riding in the car. Their injuries did not appear to be life threatening.
The Banning Police Department said the chase started at the intersection of 16th and Ramsey streets in Banning about 6:30 p.m.
An officer noticed a car, apparently carrying about four people, weaving in their lane. The officer suspected a possible DUI and tried to stop the driver, but the car sped away. The car had been reported stolen.
The car went into Cherry Valley, then Beaumont and eventually onto the westbound 60 Freeway. At that point, Banning police turned the matter over to the California Highway Patrol.
The suspect hit speeds of up to 100 miles per hour before getting off at Workman Mill Road in the city of Industry.
The pursuit ended at an underpass.
"As the CHP officers were pulling in behind it one of the suspects, a passenger suspect, stepped out of the vehicle and brandished a handgun," said Lt. Dave Coleman of the Los Angeles County Sheriff's Department. "Approximately four officers who were on scene saw the suspect brandish the firearm and all four fired."
Officers recovered a handgun at the scene.