EL CAJON, Calif. — A man was shot by deputies in East County Friday morning while authorities were attempting to recover a stolen vehicle, authorities told FOX 5.

According to the San Diego Police Department, law enforcement found the suspect in a stolen vehicle, a Toyota truck that was allegedly associated with an Alpine commercial burglary Thursday, parked on 1100 Oro Street in El Cajon.

After several attempts to get the suspect out of the truck, the man tried to flee in the vehicle, prompting one deputy to fire at the man in the truck around midnight. SDPD said the deputy hit the suspect’s leg, in addition to the truck.

“The driver of the vehicle ignored the deputies multiple commands to get out of the vehicle and ended up accelerating rapidly in reverse, struck a parked vehicle and then accelerated rapidly forward,” Lt. Steve Shebloski of SDPD’s Homicide Unit told to FOX 5. “The deputy feared for his life and the pedestrian’s life and his partner.”

The man sped off north on Oro, but ultimately lost control resulting in a solo roll-over crash a few blocks away on 1300 N Second St. Police said the man then fled the scene on foot.

The suspect was later found in the shed of a residence on Arlington Place near Greenfield Drive. Occupants of the residence called 911 when they saw a man hop over their fence, after being awoken by sirens, an overhead helicopter and barking dogs.

Responding deputies arrested the man and he was taken from the scene by ambulance. Officials say he’s receiving treatment for two gunshot wounds to his lower legs.

The suspect has been identified by authorities as Brenten Kinzenbaw, a 25-year-old resident of Alpine.

Kinzenbaw is facing felony charges of auto theft, assault with a deadly weapon and felony evading, SDPD said.

The deputy who fired at Kinzenbaw has been with the San Diego Sheriff’s Department for about five years and is currently assigned to patrol from the Lakeside substation, SDPD said in a statement.

The other deputy responding to the incident did not fire his weapon during the incident.

Since this is a deputy-involved shooting, the San Diego Police Department will lead this investigation and the Sheriff’s Department will conduct an admirative investigation into the deputy’s discharge of his firearm.