Updated 03/15/16 – 1:02 p.m.

(CBS) — Three Chicago police officers where shot and the suspected gunman was killed in a shootout late Monday night, after a drug investigation in the Homan Square neighborhood.

Police said the man who shot the officers was a convicted felon who had past arrests for gun and drug charges, and resisting arrest. Detectives were questioning a woman who was taken into custody after the shooting.

The incident occurred shortly before 10 p.m. in the 3700 block of West Polk Street, as Harrison District tactical officers were investigating drug activity. Officers saw a man and woman walking through the courtyard at that location, and went up to question them, police said.

When officers identified themselves, the man took ran away, police said. As officers gave chase, the man ran through a darkened courtyard, and turned and fired at police, hitting three officers.

“At least one officer was able to return fire, and fatally wounded the subject,” Interim Police Supt. John Escalante said.