RAPID CITY, S.D. (AP) — A Rapid City police officer shot and killed a dog that authorities say attacked a police dog.

Officers were tracking a suspect following a pursuit on Sunday night when authorities say a pit bull from a nearby yard attacked the police dog involved in the search.

Police spokesman Brendyn Medina says the officer shot the pit bull about three times. It died sometime Monday morning.

The police dog was taken to a veterinarian to be treated for bites to its face.