A 13-year-old girl was identified as the student responsible for writing a threatening message at Haviland Middle School last week, Hyde Park police said Tuesday.
Police interviewed the girl, who resides in the City of Poughkeepsie, and admitted to writing the message.
A student found the graffiti on Nov. 11 and prompted the school to be closed last Thursday.
Authorities had not disclosed what the message said or where it was written in the school as of Tuesday night.
Police say based on the information they received during their investigation, the juvenile was taken to Mid-Hudson Regional Hospital for a mental health evaluation.
In a social media post, police say investigations "involving school safety must be conducted thoroughly to ensure that all information is properly evaluated and appropriate steps are taken."
Anyone with questions regarding the investigation is asked to contact Sgt. Michael Stallone at 845-229-9340.
As News 12 reported, this is not the first incident to occur at the school.
In October, a man who wore camouflage and a bullet-resistant vest while riding a bicycle through a field behind the school was taken into custody.
Daniel Prospero was found and armed with a knife and two rifle magazines, one which contained ammunition.
Police later arrested Prospero, who faces several felony weapon charges.