HIGHLAND PARK, Ill. – The man accused of fatally shooting seven people and wounding dozens more at a Fourth of July parade legally purchased the rifle used in the attack in Illinois within the past year despite ominous run-ins with police in 2019.

Lake County Major Crime Task Force spokesman Christopher Covelli said the 21-year-old suspect, who was arrested late Monday, used a rifle “similar to an AR-15” to spray more than 70 rounds from a rooftop at the parade crowd. The suspect had purchased five firearms, including one rifle found at the scene, one found in his car and other weapons seized from his father’s home.

Illinois state police, who issue gun owners’ licenses, said the gunman applied for a license in December 2019, when he was 19. His father sponsored his application. At the time “there was insufficient basis to establish a clear and present danger” and deny the application, state police said in a statement.

Yet the suspect was the subject of two police visits in the months before the application was sought. In September 2019 he threatened “to kill everyone” in the house, and police confiscated 16 knives, a dagger and a sword. Covelli said there was no sign he had any guns at the time. Five months earlier, police responded to a reported suicide attempt.

Latest developments:

►Prosecutors charged the suspect with seven counts of first-degree murder Tuesday and said more charges could follow. Lake County State’s Attorney Eric Rinehart said the suspect faces a mandatory sentence of life in prison without parole if convicted.

►Vice President Kamala Harris visited the shooting site late Tuesday. “The whole nation should understand and have a level of empathy to understand that this can happen anywhere, in any peace-loving community,” she said. “And we should stand together.”

►The suspect had been asked to leave a synagogue near the shooting site in April, according to Rabbi Yosef Schanowitz, co-director of the North Suburban Lubavitch Chabad – Central Avenue Synagogue. Schanowitz declined to provide details.