(STMW) — A Chicago Police officer is in good condition after he was inadvertently shot by another officer who was shooting at a “vicious dog” who charged at them in a South Side building Monday night.

The incident happened about 9 p.m., when the Englewood District officers were responding to a call of a burglary in progress in the 1200 block of West 72nd Place, according to a statement from Police News Affairs.

When they reached a second-floor landing, they encountered a “vicious dog” who charged at them, forcing one of the officers to shoot at the animal, the statement said.

The dog was shot, and the other officer also suffered a gunshot wound to the leg, according to the statement and law enforcement sources.

The officer, a 42-year-old man, was taken to John H. Stroger Jr. Hospital of Cook County in good condition, Fire Media Affairs spokesman Juan Hernandez said.

The Police Independent Review Authority is investigating the incident, spokesman Larry Merrit said.

(Source: Sun-Times Media Wire © Chicago Sun-Times 2013. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)