The man arrested after the mass shooting at a July 4 parade in Highland Park had a history of posting violent imagery online.

The 22-year-old was declared a "person of interest" by police after a shooting at a parade in which six people were killed and dozens were injured.

He was arrested when police pulled over a car that was five miles away from the shooting. He wasn't charged with an offense at the time.

The man arrested has a history of posting violent content.

The Associated Press said that he had a profile on the video sharing website.

A video that was reviewed by Insider showed drawings of a mass shooting in a school. The narrator says that it is his destiny. The man's social media accounts had been taken down by Tuesday morning.

He posted images of Central Avenue, the site of the shooting, in videos on his personal website, which was reviewed by Insider.

Police don't know what motivated the shooting.

The nephew of the man who was shot was described as a "YouTube rapper" by his uncle.

According to local media reports, the man arrested is the son of a grocery store owner and a former mayor.