A man who shot himself while in a car on the 5 Freeway in Gorman is a suspect in an earlier shooting in Rosemead that left one man injured, detectives said.

From Gorman, the man’s father drove to their home where paramedics responded, according to Los Angeles County coroner’s spokesman Ed Winter. He said paramedics pronounced 24-year-old Francisco Acosta of Duarte dead at 5:32 a.m.

Winter said Acosta shot himself with a shotgun around 3 a.m. while a passenger in a car heading north on the 5 Freeway.

Sheriff’s Homicide Lt. Joe Mendoza confirmed the man was then driven to the 2000 block of Flagstone Avenue which is in the unincorporated county area. Mendoza said the sheriff’s Temple Station called in homicide detective.

Lt. Mark Reyes said the same shotgun was used in a shooting that occurred in the 9700 block of Valley Boulevard in Rosemead at 12:30 a.m.

A man got out of a white sedan and shot a 21-year-old man in the chest, according to Lt. John McClure. He said the car drove westbound on Valley Boulevard while the shooter ran northbound on Temple City Boulevard. Sheriffs deputies said the man suffered a grazing wound and was hospitalized in fair condition.

McClure said the victim was taken to a hospital with injuries he described as “non life threatening.”

“We believe (Acosta) is the shooter,” Reyes said.

The motive behind the shooting is still unknown.

Mendoza said Acosta got back in the car which was driven by a relative.