HARLINGEN — An 18-year-old Harlingen man has been arrested on charges of making terror threats against religious groups and possessing components of explosives.

Joel Hayden Schrimsher is being held on bonds totaling $1 million, police said in a release yesterday.

Police said they found several chemical compounds used to create explosives at Schrimsher’s home.

The investigation began Thursday when Harlingen police were contacted by the Bureau of Alcohol, Tobacco, Firearms and Explosives with information that a person in Harlingen was using social media to make threats of violence against specific religious groups.

Police investigators followed the information leading to a residence in the 2000 block of North Parkwood in Harlingen.

That’s when Schrimsher was arrested and charged with making terrorist threats, a third-degree felony.

Harlingen investigators, working with the FBI Joint Terrorism Task Force and the Brownsville Police Bomb Squad, conducted a search of Schrimsher’s residence and found several chemical compounds used to create explosives, police said in the release.

He was also charged with possessing components of explosives, also a third-degree felony.