CHICAGO — An off-duty Chicago police officer was shot after an exchange of gunfire on the Near West Side, according to police.

The shooting happened around 9:15 p.m. Wednesday in the 2200 block of West Maypole.

According to CPD Interim Supt. Fred Waller, the officer was headed home down an alley when he stopped his vehicle due to a number of garbage cans blocking the roadway.

After getting out to move them, a group of people starting firing shots at the officer — who then returned fire.

The officer suffered a graze wound to the arm and was transported to Stroger Hospital in good condition.

Police said a weapon was recovered from the scene, possibly belonging to one of the suspects.

No one is in custody. COPA is investigating the shooting and use of force by the officer, who will be on administrative duty for the next 30 days.

Waller said the officer has been with the department for 20 years.