A 10-year-old student was arrested on Thursday for allegedly sending out a string of emails threatening to shoot up a school in Gloucester County.

The boy, who attends the Franklin Township School District, was charged with third-degree terroristic threats and third-degree causing false public alarm, police wrote in a statement posted to Facebook.

Detectives sent subpoenas to an email carrier and internet provider "to determine the origin of the threat," the statement said.

The boy continued to send emails to school administrators, referencing another school shooting that would occur at Main Road School on Friday, police reported.

Police said in a statement that they plan to release the boy to his parents after a psychological evaluation.

Authorities emphasized that there was no legitimate threat to the safety of any school in the area and that students will be back to normal schedule on Friday.

The incident began after a teacher received an email overnight, saying that a shooting would occur on Thursday at Caroline L. Reutter School in Franklin Township, according to police.

The threat prompted officials to closed the Franklin Township School District and the nearby Delsea Regional School District.

Spencer Kent may be reached at skent@njadvancemedia.com. Follow him on Twitter @SpencerMKent. Find the Find NJ.com on Facebook.

Have information about this story or something else we should be covering? Tell us. nj.com/tips