HIGHLAND PARK, Ill. (CNN)  — The man detained in Monday’s deadly shooting at a Fourth of July parade in Illinois will be held without bond, a judge in Illinois’ Lake County said in a hearing Wednesday morning.

Suspect Robert E. Crimo III admitted to investigators that he fired at a crowd at the parade, an assistant state’s attorney alleged. A preliminary hearing is set in the case for July 28, the judge said.

READ MORE: Mother Of 6 Stabbed To Death In West Philly Had Protective Order Against Fiance Charged In Her Murder

Crimo drove to Madison, Wisconsin, on Monday following the Illinois shooting, saw a “celebration that was occurring” there, and “contemplated using the firearm he had in his vehicle to commit another shooting in Madison,” a spokesperson for authorities in Illinois’ Lake County told reporters after the hearing.

READ MORE: Philabundance Distributing More Food Than Ever Amid Skyrocketing Prices Caused By Inflation

“We don’t have information to suggest he planned on driving to Madison initially to commit another attack. (But) we do believe that he was driving around following the first attack and saw the celebration” and then contemplated a shooting there, Lake County Major Crime Task Force spokesperson Chris Covelli said.

MORE NEWS: Darren Arnold Sought For Allegedly Setting Fire To West Philly Home Where 150 Jugs Of Gasoline Were Found

The-CNN-Wire ™ & © 2022 Cable News Network, Inc., a WarnerMedia Company. All rights reserved.