A deputy shot a pit bull that was charging at him and a resident in Lamont on Saturday, the Kern County Sheriff's Department reported.

The dog, which was taken to a veterinary clinic for treatment and was expected to survive, bit a 6-year-old about two months ago, a sheriff's news release said.

Saturday's incident unfolded shortly after 8 a.m. when deputies were called to the 5000 block of Redbank Road in regard to a large red pit bull that was loose and attacking passersby.

A deputy arrived to find the dog chasing a person on a lawn mower. The person was kicking at the dog to try to keep it from attacking, deputies said. The dog stopped and began going to the front yard where it lives. The person told the deputy the pit bull had attacked others before the deputy arrived, the news release said.

Then the dog charged at the deputy and the person. The deputy went in between the person and the dog, and when the dog charged in "an aggressive manner, snarling, growling and lunged at the deputy," the deputy fired his gun and hit the dog in the right shoulder, the news release said.

The dog ran to the front porch of its home. Animal control took the dog.

-- The Californian