CHICAGO (CBS) — An off-duty police officer shot and killed a pit bull in Chicago’s Logan Square neighborhood yesterday.

The dog had had attacked a German shepherd near the intersection of Milwaukee and Armitage Avenues.

READ MORE: Jussie Smollett Testifies Osundairo Brothers Asked For $2 Million To Say They Weren't Involved In Any Hoax

The officer first tried to pull the pit bull off the other dog.

When that failed, he sprayed the animal with mace.

READ MORE: Man Shot Multiple Times, Killed In Chinatown

When that failed, he used his gun.

The German shepherd is expected to recover.

MORE NEWS: Chicago Weather: Steady Temperatures Overnight

It’s not known if the pit bull’s owner was at the scene.