By Dana Kozlov

JOLIET, Ill. (CBS) — Police shot and wounded a suspect who is accused of leaving an officer pinned between two vehicles in Joliet Tuesday afternoon.

CBS 2’s Dana Kozlov reported Thursday night, 30, Joliet police said it all began after a traffic stop just after 3:30 p.m. in the parking lot of a Wendy’s at 104 N. Center St. in Joliet. The suspect is accused of using his car to pin the officer as he approached him.

READ MORE: Chicago Police Officer Shot, Wounded In Calumet Heights; One Suspect Also Shot

It all ended just a few feet from the drive through window, when other police officers opened fire. The suspect’s car was left with six bullet holes in its windshield.

A Joliet police sergeant said officers started shooting after the suspect in that car pinned an officer between his car and the officers squad, then apparently tried to get away.

READ MORE: Jussie Smollett Trial: Abel Osundairo, One Of Two Brothers Who Said He Was Paid To Help Stage Attack, Says Smollett 'Wanted Me To Fake Beat Him Up'

Somehow, a white car nearby was also hit and badly damaged. Investigators spent hours at the scene picking up evidence before the suspect’s car and the white car were towed from the scene.

The officer was in good condition late Tuesday, while the suspect’s condition was not known.  It was also unclear where he was hit.

MORE NEWS: Chicago Weather: Partly Cloudy And Breezy Overnight

Joliet police have turned this investigation over to the Will-Grundy Major Task Force.