By CBS 2 Chicago Staff

CHICAGO (CBS) — A suspect was in custody Thursday night, after a Grundy County Sheriff’s deputy was shot during a traffic stop in the village of Mazon.

The Grundy County Sheriff’s office said the deputy was conducting a traffic stop around 5:10 p.m. on Illinois Route 47 at DuPont Road, when the vehicle fled the scene.

READ MORE: Kenosha County Sheriff's Deputy Shoots Chicago Homicide Suspect At Bristol Gas Station; Suspect Shot Police K-9 During Confrontation

The car crashed into two other vehicles before coming to a stop near the railroad crossing at Grand Ridge Road, and the suspect ran off, officials said.

During a foot chase, the suspect fired several shots at a Grundy County deputy, striking him multiple times.

Grundy County Sheriff Ken Briley said the deputy chased the suspect for several blocks, and got within an armlength or two of the suspect, who turned and started shooting.

Brileysaid the deputy was hit three times. His ballistic vest stopped two of the bullets, but the third bullet struck his arm. He was able to place a torniquet on his arm to stop the bleeding until he could be treated at nearby Morris Hospital.

READ MORE: Chicago Weather: Sprinkles And Cooler Than Normal Temps Through The Weekend

The deputy was able to provide a description of the shooter and where he went to help police track him down.

Briley said the officer was in “good shape” and in “good spirits” at the hospital.

Meantime, Briley said while officers were securing the perimeter during the search for the shooter, officers saw a vehicle speeding away from the area, and stopped the driver. Police believe that woman was either coming to pick up the shooter, or knew he was in the area. She is in custody on an outstanding warrant.

Authorities later tracked the suspect to a nearby apartment complex, which was evacuated while police negotiated his surrender.

Briley said the suspect told police he had been shot, and he was being taken to the hospital. Authorities believe he was shot during the foot chase, but it was not immediately clear who shot him.

MORE NEWS: City Council Finance Committee Approves $76.5 Million Property Tax Hike, As Mayor Lori Lightfoot's 2022 Budget Plan Passes First Test

Illinois State Police are investigating.

CBS 2 Chicago Staff