Cops shot and killed a pit bull in the Bronx Monday afternoon when the animal lunged at them while they were responding to a report of a burglary, according to police.

The officers were called to a house on Park Avenue near East 182nd Street around 12:26 p.m. by the home’s owner, who said there were squatters in his basement, cops said.

When the cops got to the basement, the pit bull tried to attack them and one of the officers fired a single shot that killed the dog, police said.

A person at the home was taken into custody and is expected to be charged with a leasing scam, cops said.

Neither the squatters nor the homeowner took ownership of the dog and no other arrests were made, police said.

One of the officers was taken to Jacobi Medical Center for tinnitus and will be held overnight, authorities said.