CARTHAGE, N.C. (WNCN) — A juvenile made violent threats against a Moore County school, the Moore County Sheriff’s Office said.

The threat was made against students at Union Pines High School on Wednesday, according to the sheriff’s office.

After receiving the report, the sheriff’s office along with Moore County Schools Police, and the State Bureau of Investigation immediately began investigating.

Authorities said they worked throughout the night to identify the origin of the threat.

Early Thursday morning, authorities executed a search warrant at a home in Aberdeen, the sheriff said. During this, a juvenile was identified as being responsible for the threats.

Officials did not release the name of the suspect and said that charges are pending coordination with the North Carolina Department of Juvenile Justice.