A man shot while driving on a San Diego-area freeway managed to keep driving miles away to a gas station, where he called for help, California Highway Patrol (CHP) officials said.

A 22-year-old Spring Valley man was driving along State Route 125 near Jamacha Road at 1:21 a.m. Sunday, CHP officers said. There was a 21-year-old Chula Vista woman in the front passenger seat of the Chevy Malibu, officials said.

When a dark colored Mercedes drove up next to the victim's car, someone inside the car fired at the Malibu through the driver's window, officers said.

A bullet grazed the Malibu driver's head and another bullet struck him in the shoulder, officials said.

The victim kept driving, ending up at a Shell gas station in San Diego's Bay Terraces neighborhood, officers said. CHP officials do not know if the shooting was targeted.

The female passenger in the car did not recognize the car where shots were fired from, she told authorities.

The victim was taken to Scripps MercyHospital where he was expected to recover, officers say. Police are searching for the suspect.

Anyone with information can contact the CHP El Cajon Area Office at 619-401-2000.