A student killed a female teacher and classmate with a knife and injured another classmate at a high school in northern Slovakia on Thursday.
Several emergency crews were dispatched to the school in Spisska Stara Ves, where two people were discovered dead and a third was taken to hospital with medium-severity injuries, emergency services spokesperson Danka Capakova told Reuters.
The emergency services said the victims were 51 and 18, both female, and the injured was an 18 year-old woman.
The three attacked were a female teacher and two classmates, Interior Minister Matus Sutaj Estok said on Facebook.
"The 18-year old (male) student suspected of committing a serious act in Spisska Stara Ves was detained a very short time after the incident," the police said earlier on Facebook.
Estok, the minister of education and the chief of police headed to the scene in Spisska Stara Ves, a town of around 2,000 people on the Polish border, 376 km (234 miles) north-east of the capital Bratislava.
Serious violence is rare in Slovakia, a central European nation of 5.4 million. The country was shocked last May when Prime Minister Robert Fico was shot in an assassination attempt.
"No problem in the world can be resolved with a knife or any other weapon," President Peter Pellegrini said in a statement.

US war in Iran has cost $29 billion so far, Pentagon says
At Temple of Heaven summit, Trump and Xi will seek a good harvest
Peace deal hopes fade after Trump rejects Iran proposal
Protests erupt after key college entrance test cancelled in India
UK's Starmer defies calls to quit, says he is getting on with governing
New Israeli law sets military tribunal for those linked to October 7 attack
Russia strikes Ukraine with drones as ceasefire ends
Dutch hospital quarantines 12 over breach of hantavirus protocol
