A teenage boy who chased a pupil through a school corridor "brandishing" a knife has appeared in court on the Isle of Man.
Manx Police were called to the school shortly after 11:00 GMT on 12 February.
The 14-year-old, who cannot be named for legal reasons, pleaded guilty to affray and having a knife on school grounds which he had taken from home.
Magistrates heard that the defendant had "reached breaking point" after being bullied for several years.
The defendant had "no intention to hurt" anyone, his advocate told the court.
He has been remanded to appear again at Douglas Courthouse on 18 March.