ST. LOUIS — A man is in custody after opening fire on a St. Louis City police officer.

Detectives said the incident happened while the mobile reserve officer was conducting a traffic stop near Maffitt Avenue and Hamilton Avenue in north St. Louis around 2:00 p.m. Monday. Investigators said during the traffic stop, the suspect pulled out a gun and fired on the officer. That’s when the officer returned fire.

The suspect then got out of the vehicle and fled on foot. After a brief foot pursuit, the suspect was taken into custody. Residents who live nearby said they are concerned about the violence and are thankful for first responders who put their lives on the line every day.

“I’m glad they caught the person who did it. Normally stuff don’t happen on our block. I could have been out here. My kids could have been out here,” said resident Latasha Garner.

At this point, police have not released details about why the suspect was pulled over or what charges he might face. No injures were reported.