WANTAGH - A teen accused of threatening to kill the principal of his Wantagh school was ordered held without bail today.

Investigators say BOCES student Joshua Barley, 18, of Garden City, wrote a disturbing and threatening message on a blackboard at the Rosemary Kennedy BOCES School.

Prosecutors say Barley wrote that he wanted to assassinate the principal, eat the flesh of his classmates and take over the tri-state area. Police say a witness alerted the principal, who called police.

Police say Barley told them that the disturbing things he wrote on the board were a joke that he found to be funny. "I like the principal, but I did it because of the sub," he told police.

Prosecutors say there are previous charges pending against Barley, including for stalking other students. He also has a history of psychiatric issues.

In a statement, Nassau BOCES said, "We have robust procedures for incidents of these kinds, and we followed them exactly. This includes coordinating... with the Nassau County Police Department."

The Rosemary Kennedy BOCES School serves students ages 5 to 21 years old who have learning, behavioral and developmental disabilities, and moderate to severe development disabilities.