CHICAGO (STMW) — A man who exchanged gunfire with an off-duty Cook County sheriff’s correctional officer Sunday night on the West Side is being held without bond.

Nicolas Mobley, 22, is charged with attempted first-degree murder, armed robbery with a firearm, and aggravated discharge of a firearm at a firefighter or police officer, according to Chicago Police.

READ MORE: South Shore Woman Sees Police Activity After Shooting Leaves Man Dead, Only To Find Out It Was Her Own Beloved Brother

Mobley fired at the officer in the 3400 block of West Madison about 10:30 p.m., according to police and the Cook County sheriff’s office. The officer returned fire, shooting Mobley in the lower right leg.

Police said the exchange of gunfire happened during a robbery.

READ MORE: Chicago Weather: Patchy Frost Well Inland

Mobley drove himself to Stroger Hospital, where he was taken into custody. He remains in “good but serious condition” at the hospital, police said.

The officer did not appear to be injured, but was taken to a hospital as a precaution, the sheriff’s office said.

Mobley, of the 200 block of West 61st Street, was ordered held without bond Tuesday. His next court appearance is scheduled for Friday.

MORE NEWS: Constituent Says She And Others Were Kicked Out Virtual Meeting With Embattled Ald. Jim Gardiner, And Alderman Isn't Providing Answers

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