By Mugo Odigwe

CHCAGO (CBS) — A Chicago police officer opened fire on a man who had shot two people early Wednesday in the Auburn Gresham neighborhood, but the gunman escaped after holing up inside his home for several hours.

According to police, officers on patrol saw a man in an alley shooting into a garage in the 8300 block of South Kerfoot Avenue just before 12:30 a.m.

READ MORE: Simeon Career Academy Student Shot And Killed Just Blocks From School

Police said a responding officer “discharged their weapon at the offender” before the offender fled the scene.

READ MORE: 2 Illinois Residents, Dave Wiersma And Dawn Frankowski, Charged In Jan. 6 Capitol Breach

When the officers entered the garage, they found two victims inside. A 60-year-old man was shot in the upper thigh and was taken to the University of Chicago Medical Center in good condition. The second victim, a man in his 50s, was shot in the leg and taken to the same hospital in serious condition.

MORE NEWS: 2 Boys, Ages 14 And 15, Shot And Wounded In Hyde Park

Police said the offender barricaded himself in his home and a SWAT team was on the scene for several hours. Police later said the standoff had ended, but the suspect was not in custody, and the search for the gunman continues.