CHICAGO (CBS) — A Chicago Police officer shot and killed a dog early Friday, while breaking up a squatters’ party on the city’s West Side.

Officers responded around 12:45 a.m. to an empty storefront in the 3700 block of West Chicago Avenue, on the cusp of the Humboldt Park and East Garfield Park neighborhoods, where an illegal party was in progress.

READ MORE: 1 Person Dead, Another Injured In 4 Car Crash In Waukegan

LISTEN: WBBM Newsradio’s Mike Krauser reports

People were allowed in the party with a $5 “donation,” and a DJ was performing, according to police. Some of the patrons were underage, police say.

Officers found an empty nitrous oxide tank inside, though they did not find evidence of other drug use.

READ MORE: Chicago Weather: Slightly Warmer Temperatures Before Cold Returns

A pit bull was loose in the empty storefront, and charged at a male officer, police said. The officer shot and killed the animal on the spot.

The partygoers quickly dispersed when police arrived.

Five adults were charged with various misdemeanors, including license violations and contributing to the delinquency of a minor, police said.

MORE NEWS: Woman, 2 Children In Hospital After Building Fire In Homan Square

The Sun-Times Media Wire contributed to this report.