CONCORD, N.H. (CBS/AP) — Two men were arrested Friday in Concord, New Hampshire for making a threat against a high school.

Kyle Slogic, 21, of Concord, and 18-year-old Brandon Foster, of Pittsfield, New Hampshire, face charges related to criminal threatening.

READ MORE: Alvin Gaston Charged In Fitchburg Hit-And-Run That Left Young Mother Seriously Hurt

Police say the two got into a former Concord High School student’s Facebook account and posted about a shooting at the school.

Several students saw the post and called police who were able to track down and arrest them.

READ MORE: Man Accused Of Assaulting Transit Police Officer After Being Asked To Wear Mask

Kyle Slogic and Brandon Foster. (Photo Courtesy: Concord Police)

Police believe one of the men is the relative of the student whose account was hacked, and that the threat is an act of revenge.

Police are confident that the school is not in danger but the incident is still under investigation.

MORE NEWS: Federal Prosecutors Drop Charges Against MIT Professor Gang Chen, Accused Of Hiding Ties To China

(© Copyright 2019 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)