The man in custody in connection with the July 4 mass shooting in the Chicago suburb of Highland Park confessed to the crime and revealed that he contemplated carrying out a second attack, authorities said Wednesday.

Robert "Bobby" E. Crimo III appeared in court Wednesday via Zoom and was formally charged with seven counts of first-degree murder. The judge ordered him held without bail Following the attack, Crimo drove some 142 mi (228 km) to Madison, capital of the neighboring state of Wisconsin, where he encountered a Fourth of July celebration in progress.

Crimo "seriously contemplated using the firearm he had in his vehicle to commit another shooting," but rejected the idea and drove back to Highland Park, the deputy chief of the Lake County Major Crime Task Force, Chris Covelli, said.