Three teachers and two students were stabbed by a 14-year-old in southern Spain on Thursday, sparking soul-searching in a country where such attacks are very rare.
The teenager, who has not been identified, stabbed his victims repeatedly shortly after classes began at a school in Jerez de la Frontera in Andalusia, police spokesperson Adrian Dominguez told reporters at the scene.
"Police located the suspect on the third floor. He had in his possession the two knives used to attack three teachers and two students," he said.
Four of the five injured sustained light wounds, while the fifth, a teacher, would need surgery for an injury to the eyelid, regional government education minister Patricia del Pozo told reporters.
Several students told Spanish media the pupil stabbed two classmates before attacking the teacher, injuring her eye.
He then ran into another classroom and continued his attack.
One student, who was not identified, told private television La Sexta that the teenager "ran to the back of the class, dropped his backpack on the floor and pulled out two knives.
"Then he started shouting 'I'm going to kill you!'"
"He was running, chasing people, everyone went out into the playground," the student said.
Another unnamed student told Canal Sur television the suspect had "a look on his face like he wanted to stab everyone."
When the news broke, parents rushed to the school, which has 687 pupils, and gathered outside the gates which were cordoned off by police.
Local mayor Maria Jose Garcia-Pelayo described the incident as "devastating," telling reporters the suspect had ultimately been disarmed by the teachers.
"All the parents were outside the school and all they wanted to do was be able to hug their children," she said.
Andalusia's regional leader Juan Manuel Moreno said it was unclear what triggered the attack, but warned about the danger of youngsters being exposed to extreme violence.
"We all need to think hard about the role of violence on TV, in films and video games, and on social media.. (which is) gratuitous and sometimes extreme," he said.
Top church official Archbishop Francisco Cesar Garcia Magan said the stabbing should provoke "an urgent reflection" within Spanish society which was facing "a very serious situation and a problematic outlook for the future."
He also called for efforts to improve education about mental health issues.
Compared with other European countries, Spain has a relatively low crime rate, especially violent crime.
Excluding 2020, when incidents were especially rare because of COVID-19 lockdowns, the rate in 2021 of 41.4 incidents per 1,000 people was the lowest in recent history, government figures show.