HIGHLAND PARK, Ill. — Police took a man into custody Monday evening after a massive search in connection with a shooting rampage that left six people dead and at least 30 injured at a Fourth of July parade in this affluent Chicago suburb.  

A police officer briefly chased Robert E. Crimo III as he drove five miles north of the shooting site before the arrest was made shortly before 7 p.m. Monday, said Highland Park Police Chief Lou Jogmen. 

Earlier in the day, authorities had identified Crimo as a person of interest and released photos of him and his silver Honda Fit. They warned the public to shelter in place and that he was likely armed and dangerous. Authorities initially said Crimo was 22, but an FBI bulletin and Crimo’s social media said he was 21.

“This individual is believed to have been responsible for what happened,” Lake County Deputy Chief Christopher Covelli said.

HIGHLAND PARK SHOOTING LIVE UPDATES: Mayor says gun was legally obtained; fear of shootings incites panic in other cities

LATEST:What we know about the arrest made in Highland Park parade shooting

Video from the parade scene showed scores of people running for cover as music continued to play minutes after the event began at 10 a.m. local time Monday.

Covelli said the gunman apparently fired from a rooftop at around 10:14 a.m. after climbing there on an unsecured ladder attached to the building. A high-powered rifle was recovered at the scene, he said.