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: Mayor Lori Lightfoot Backs Declaring Juneteenth An Official City Holiday Starting Next Year

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

READ MORE: Child Tax Credit: How Much Will Your Monthly Check Be?

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: Decision Delayed Again On Mental Health Treatment In Jail For Serial Stowaway Marilyn Hartman

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.