At 9:30 p.m. Sunday, a deputy was dispatched to the 27000 block of Anderson Street in Boron regarding a vicious pit bull roaming the neighborhood.

It was also reported the dog had earlier attacked a person riding a bicycle through the area. The deputy met with the reporting party, and saw that the dog was walking in the street a few houses away from where the deputy was standing.

The dog charged the deputy, who used pepper spray on the animal, causing it to retreat to the yard of a nearby residence. The deputy closed the gate to the yard.

Several minutes later, the dog escaped from the yard and again charged and attacked the deputy. The deputy fired two rounds from his handgun, striking the dog at least once in the head.

The dog went back into the yard. Animal Control officers arrived and took control of the dog, which was still alive.

Neither the deputy nor any area residents were injured.

- Kern County Sheriff's Department