CHICAGO (STMW) — A suspected armed robber was shot after Chicago Police say he charged at an officer in the South Side Canaryville neighborhood, making the officer’s gun discharge.

About 3:15 a.m., officers were flagged down by someone claiming their cell phone was taken by three people at Cermak and State, all who then fled in a vehicle, police said.

READ MORE: Chicago Weather: Cooler Trend Next Week After Quiet Weekend

The three were found in a vehicle in the 500 block of West 43rd Street some time later. A male in the vehicle got out and showed a handgun in his waistband, police said. He then “charged the officer hitting him with his body,” causing the officer’s weapon to discharge.

Fraternal Order of Police spokesman Pat Camden said the suspect elbowed the officer in the chest as he was getting out of the car, causing the officer’s gun to accidentally discharge. The suspect was struck in the arm and chest.

The armed suspect, who had been shot, dropped his weapon and ran off in an unknown direction, police said. A weapon was later recovered at the scene, police said.

The two others in the vehicle were arrested without incident.

READ MORE: Protesters Hold 'Healing Circle' At Site Where Adam Toledo Was Shot And Killed By Police; 'Our Presence Is A Form Of Resistance'

The male who was shot was later found at Mercy Hospital with a gunshot wound and is in “guarded” condition. He is in police custody.

Camden said he was later transferred to Stroger Hospital.

Charges were pending against all three Friday morning, police said. No officers were hurt.

The Independent Police Review Authority, which investigates all police-involved shootings, was notified of the incident at 3:45 a.m., spokesman Larry Merritt said.

MORE NEWS: Stimulus Check Latest: Is A Fourth Relief Payment Coming?

(Source: Sun-Times Media Wire © Chicago Sun-Times 2015. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed.)