ATASCADERO, Calif. (AP) — San Luis Obispo County sheriff’s deputies have shot and killed a driver they say pulled a gun after they stopped his car on a freeway shoulder.

Thirty-four-year-old Josue Gallardo was declared dead Tuesday shortly after midnight in Atascadero.

READ MORE: UPDATE: CHP Arrest Second Suspect Involved in Scotts Valley Highway 17 Chase and Shootout

The Sheriff’s Office says Gallardo, a transient from the Paso Robles area, had a warrant for his arrest over a domestic violence incident that occurred in June.

READ MORE: Registration Deadline Approaches For San Francisco School Board Recall Election, Assembly Contest

The Sheriff’s Office says deputies spotted Gallardo’s car on southbound Interstate 101 and pulled it over.

But authorities say as two deputies approached the car, Gallardo pulled a gun. The deputies opened fire and retreated.

MORE NEWS: UPDATE: San Francisco Easing Some Indoor COVID Masking Requirements On Feb. 1

© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.