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.

Kuwait launches probe into espionage, state security cases
Trump, Iran threaten to escalate conflict with attacks on energy and water facilities
Israeli airstrikes kill four in Gaza, Palestinian officials say
Iran says Hormuz open to all but ‘enemy-linked’ ships
GCC renews condemnation of ongoing Iranian attacks
Seven killed in Qatar helicopter crash due to technical malfunction
Four killed as severe weather hits Oman, search continues for missing person
Japan could consider Hormuz minesweeping if ceasefire reached, minister says
