A man was shot as he attempted to flee two men who opened fire on him in North Long Beach early Saturday morning, police said.

Detectives are still investigating what the motive behind the shooting was, but they believe this was possibly an attempted carjacking, said LBPD spokesperson Allison Gallagher.

The man told officers he was sitting in his parked ca in the 400 block of East Artesia Boulevard around 12:07 a.m., when two men approached his car, according to police.

As the man began to drive away from the area, one or both of the suspects fired shots toward the vehicle, striking the car and the driver, police said.

Officers spoke with the victim about the incident while he was at a local hospital receiving medical treatment from the injuries, which he’s expected to survive, police said.

Additional officers responded to the 400 block of E. Artesia but were unable to locate a crime scene, police said. Gallagher said the victim and the two men were apparently not known to each other and the investigation remains ongoing.