RANCHO SANTA FE–An adult male threatening and brandishing a knife at Sheriff’s deputies was shot by a deputy outside an apartment complex in Rancho Santa Fe, authorities said Saturday.

Detectives identified the man in the officer-involved shooting as 50-year-old Edward Ray Nett. At the time of the shooting, Nett was on active parole for violently resisting law enforcement officers in 2015. He is expected to recover from the injuries. Once Nett is released from the hospital, he will be booked into jail on multiple felony charges.

Shortly before 5:30 a.m., deputies from the Sheriff’s North Coastal Station responded to a report of a person yelling and the sounds of items breaking in front of an apartment in the 6000 block of Paseo Delicias in Rancho Santa Fe.

When deputies arrived, they were confronted by Nett who was standing in front of one of the apartments brandishing a knife. He yelled at deputies that he was going to stab them. In an attempt to take him into custody with the minimum amount of force, deputies launched pepper balls at the suspect and deployed Sheriff’s K-9 “Banjer.” However, the pepper balls had no effect and the man stabbed “Banjer” under the left eye. Deputies recovered “Banjer” and he was rushed to a local animal hospital for emergency surgery.

The man then broke into a nearby apartment where he confronted the resident and held them at knife point for a short time. The resident was able to break free of the man and run into the bathroom and lock the door. The man then yelled to deputies who were outside, that he had just “slit the throat” of the victim. As deputies prepared to enter the apartment to rescue the victim, the man stepped outside and again confronted the deputies with the knife. One of the deputies fired approximately four times, striking the man in the torso.

Deputies took him into custody and render first aid until paramedics could arrive. He was transported to a local hospital for treatment of his wounds. The resident of the apartment was found unhurt, inside the bathroom.

“Banjer’s” surgery went well. He is now resting comfortably and is expected to make a full recovery.