COHASSET (CBS) – Classes were canceled at Cohasset Middle and High Schools Tuesday because of a threat posted on social media.

Superintendent Louise Dema said the decision was made out of an abundance of caution after the threat came in “late last night” and police were unable to prove it was unsubstantiated.

“On Monday, June 17, it was reported that a Cohasset Middle or High school student had made threatening remarks about another minor,” said a statement from Demas and Police Chief William Quigley.

“Additional material was discovered Monday night containing threats against one or more students at Cohasset High and Middle Schools.” At that point, officials decided to cancel school.

Cohasset Middle and High Schools (WBZ-TV)

The nature of the threat was not revealed.

Deer Hill and Joeseph Osgood Elementary Schools were not mentioned in the threats and were open for class.

Tuesday was the last day of the school year in Cohasset.

“Our students’ safety is of utmost importance, and we will be updating the school community as soon as more information becomes available. I wish to thank our students, parents and faculty for their patience and cooperation as we investigate this threat,” said Demas.

No other information is available at this point.