A 24-year-old student killed 14 people and wounded 25 at a Prague university on Thursday in the Czech Republic's worst shooting in decades, before authorities said the attacker was "eliminated".
The deadly violence in the city's historic centre sparked evacuations, a massive response by heavily armed police and warnings for people to stay indoors.
The shooting erupted at the Charles University's Faculty of Arts, which sits near major tourist sites like the 14th-century Charles Bridge.
"At this moment I can confirm 14 victims of the horrible crime and 25 wounded, of which 10 seriously," police chief Martin Vondrasek told reporters after the shooting.
All the victims were gunned down inside the building, he said. Media said at least some were the gunman's fellow students.
Vondrasek added the gunman, previously unknown to the police, had a "huge arsenal of weapons and ammunition" and that quick police action prevented far more serious carnage.
Vondrasek said police started a search for the man before the mass shooting as his father had been found dead in the village of Hostoun west of Prague.
The gunman "left for Prague saying he wanted to kill himself", Vondrasek said. Police suggested earlier the gunman had killed his father.
Police searched a Faculty of Arts building where the gunman was expected to show up for a lecture, but he went to the faculty's main building nearby and they did not find him.
"At 1359 GMT, we received the first information about shooting," Vondrasek told reporters, adding the rapid response unit was on the scene within 12 minutes.
"At 1420 GMT, the officers in action told us about the gunman's motionless body," Vondrasek said, adding unconfirmed information showed he had killed himself.
- Another murder -
Citing a probe into social media, Vondrasek said the gunman was inspired by a "similar case that happened in Russia", without going into details.
"At the moment, there is nothing to suggest any further imminent danger," he added.
Vondrasek said police believed the same gunman had also killed a young man and his two-month-old daughter in a pram during a walk in a forest on the eastern outskirts of Prague on December 15.
The police investigation into the murder that had shocked Prague was deadlocked until evidence found in Hostoun linked the gunman with the crime.
Vondrasek said no police officer was wounded in Thursday's action.
Police evacuated the building, using a concert hall across the street as a temporary refuge for the evacuees.
Czech President Petr Pavel said he was "shocked" by the violence and expressed "deep regret and sincere condolences to the families and relatives of the victims".
Prime Minister Petr Fiala said the "lone gunman... wasted many lives of mostly young people".
"There is no justification for this horrendous act," he added.
The worst shooting since the Czech Republic emerged as an independent state in 1993 also prompted messages of support from across the world.
US President Joe Biden sent his condolences, slamming the "senseless" shooting.
"The president and the first lady are praying for the families who lost loved ones and everyone else who has been affected by the senseless act of violence," White House Press Secretary Karine Jean-Pierre told reporters.
French President Emmanuel Macron also expressed his "solidarity" with the Czech people, as did many other European leaders including European Commission president Ursula von der Leyen and Ukraine President Volodymyr Zelensky.
- 'No other gunman' -
Czech Interior Minister Vit Rakusan said that there was no link between the shooting and "international terrorism".
He added that "no other gunman has been confirmed" and called on people to follow police instructions.
Police cordoned off the area and asked people living nearby to stay at home.
Prague's emergency service said on X that "a large number of ambulance units" were deployed at the faculty.
Though mass gun violence is unusual in the Czech Republic, the nation has been rocked by some instances in recent years.
A 63-year-old man shot seven men and a woman dead in 2015 before killing himself in a restaurant in the southeastern town of Uhersky Brod.
In 2019, a man killed six people in the waiting room of a hospital in the eastern city of Ostrava, with another woman dying days later. The man shot himself dead about three hours after the attack.