A man accused of opening fire on a Fourth of July parade near Chicago contemplated a second attack after the deadly shooting, authorities say, AOA reports citing BBC.
According to police, the 21-year-old suspect drove for more than two hours to Wisconsin after the shooting, which left seven dead and dozens wounded.
He saw another Independence Day celebration there and allegedly considered attacking it, police said.
During a court hearing, prosecutors also said he confessed to the shooting.
At Wednesday's court appearance, a judge ruled that the suspect, Robert Crimo, would be held without bail and assigned a public lawyer.
At a news conference following the hearing, police said investigators had determined that Mr Crimo attempted to dump his phone in Madison, Wisconsin after the Monday morning attack in the Chicago suburb of Highland Park.
Police said the gunman told them he had disguised himself as a woman so he could escape Highland Park alongside fleeing residents.
In the brief hearing, Assistant State Attorney Ben Dillon said surveillance video showed the suspect leaving the area and dumping a rifle. He then took his mother's car and drove about 150 miles (240 km) north-west to Madison.