ELMIRA, N.Y. (WENY) -- Two Elmira High School students were arrested and arraigned for allegedly making threats to the Elmira High School.

After an investigation, the Chemung County Sheriff's Office says the two unnamed students left school property to make the threats via phone, and returned to school afterwards. The pair are accused of making numerous calls between 8:40 a.m. and 10:01 a.m.

The calls contained threats to cause harm to students and staff.

Both students are facing one count of Making a Terroristic Threat, which is a class D felony.

As WENY reported on Thursday morning, the entire Elmira City School District was on lockout after receiving the reported threats. In a statement during the lockout, the district “Out of an abundance of caution, we have placed all ECSD locations on lock out status which means it is business as usual inside the building and at this time, and we are not allowing visitors at this time.”

After the announcement of the arrest on Thursday night, the Sheriff's Office says both teens will reappear in family court at a later date.

The Sheriff's Office says the Elmira Police Department, New York State Police, and the Chemung County District Attorney's Office gave assistance.