A half-naked man smashed his way into a classroom full of children after charging around a school playground.
Shocked pupils watched as the bizarre intruder ran around outside before suddenly launching himself at a ground-floor window.
He smashed the glass with his head before clambering inside, sending children screaming in terror.
READ MORE: Teens held at gunpoint and cuffed SUE after AI mistakes bag of DORITOS for a gun
Footage shared on social media shows the youngsters filming the man as he runs around outside their classroom.
At first, some appear amused by his antics, but their reactions quickly change when he smashes his way into the room.
The man was eventually restrained by male teachers, who held him inside the classroom until police arrived.
The incident happened at Alimkulov Secondary School in the Otаrvanovka neighbourhood of Kaskelen, Kazakhstan, during a break on 11 November.
School officials said they immediately contacted emergency services and activated the panic button.
No pupils or teachers were injured, although the local education department confirmed that children had been given psychological support.
Police said the suspect had been arrested and placed in a temporary detention facility, as reported by Need To Know.
A criminal case has been opened, with officers investigating the circumstances surrounding the incident.
An Almaty Region police spokesperson said: “The suspect has been detained and placed in a temporary detention facility.
“There were no injuries among pupils or teachers. All the circumstances of the incident are currently being established.
“The suspect’s mental health will be examined as part of the criminal investigation.”
The incident has also raised questions about security at the school, with local social media users asking how the man managed to enter the premises.
Others pointed to the apparently poor condition of the classroom windows.
School officials said measures had been taken to protect pupils and staff, while the investigation continues.
READ MORE: Rugby coach loses job after brutal attack on doctor he accused of staring at partner