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.

Hong Kong court finds tycoon Jimmy Lai guilty in landmark security trial
Ukraine peace talks stretch into second day at start of pivotal week for Europe
Flash floods kill at least 37 people in Morocco's Safi province
'Hero' who disarmed Bondi gunman recovering after surgery, family says
School bus accident in Colombia kills 17, injures 20
Australia plans tougher gun laws after father and son kill 15 at Bondi Beach
Police to release man detained over Brown University mass shooting
Shooting at Australia's Bondi Beach kills 12
