What we know so far after Krakow gun attack
Six people were killed in a random shooting in Krakow's main square, and three bodies were later found at the home of the attacker.
At least six people were killed and more than a dozen others injured when a gunman suspected to have ties to the far-right opened fire in central Krakow, the second largest city in Poland.
Three bodies were found at his home when it was searched by police. Here is everything we know so far.
The attack began shortly before 15:00 local time (14:00 GMT) in Krakow's Main Market Square, the bustling central point of the city which is popular with tourists.
Police said a man drove into the square before beginning to fire "at random people from his car".
Footage shows scenes of panic as people fled, with the sound of gunfire clearly heard.
A passing tram was shot at during the apparently random attack, shattering windows but no passengers were injured.
Armed officers raced to the scene and engaged in a gunfight with the suspect, who was shot within three minutes of the attack beginning, preventing a further massacre, officials said.
A 25-year-old man who was arrested remains in hospital after having surgery for a gunshot wound. The Krakow branch of the National Public Prosecutor's Office in Poland has announced an investigation into what constitutes "a terrorist offence".
Distressing footage authenticated by BBC Verify shows the moment a police officer confronts the suspect on the ground before firing his weapon several times.
The officer then falls to the ground, apparently having been injured himself.
Shop windows in the square have signs of damage, seemingly from bullets, with glass shards scattered along the floor.
City officials have urged people who live in the city and tourists to stay away from the area while an investigation continues.
The suspect's car, found at the intersection of Dietla and Stradomska streets, was checked for possible explosive devices, police said, but none were found. Residents of nearby buildings had been evacuated while the operation was under way.
How many people have died and been injured?
Six people - four women and two men - are confirmed to have been killed in central Krakow. Four victims are Polish, while a British national and an Austrian woman were also killed.
Poland's Prime Minister Donald Tusk said three bodies - two women and one man - were found at the gunman's house when it was searched after the attack.
On Sunday, Polish police confirmed those three victims had been identified as the alleged gunman's 53-year-old father, 52-year-old mother and his sister, who was 21-years-old.
Sixteen people, including five foreigners, two police officers and the attacker, were taken to hospital. The interior ministry later said they were from Austria, Britain, Germany, Portugal and Russia.
Tusk later named the injured officers as Senior Constable Jakub Kulik and Senior Constable Artur Morański.
One of the police officers was described as being in a "very critical condition" by a Polish government minister after being shot three times while arresting the attacker. The officer is undergoing surgery, he added.
In an update on Sunday, police spokesperson Katarzyna Cislo told Radio Krakow two women who were sent to hospital following the incident had been released and the remaining individuals in Krakow's hospitals are in a stable condition.
She said this included the two police officers who were injured.
Polish authorities have not confirmed the names and ages of the other victims.
What do we know about the suspect and motive?
Police have identified the attacker as a 25-year-old Polish man but have not confirmed his name.
Local governor Krzysztof Jan Klęczar said the gunman remains in a critical condition at hospital.
The suspect was wearing "military-style attire" and had a military-grade weapon, according to a police spokesperson. However, authorities said he was not a soldier.
"Many pieces of weapons and ammunition were found in his vehicle", the spokesperson added.
Polish media has reported the suspect had a firearms permit and may have obtained the weapons from his family home.
A minister has said early investigations indicate he was inspired by "far-right ideologies". The minister also described him as an "ultra-nationalist" without giving further details.
His home in Ostrowiec Świętokrzyski, a city around 200km (125 miles) from Krakow, has been searched with support from counter-terrorism police.
The shooting happened in one of the largest medieval squares in Europe, a busy location which is also a popular tourist destination.
Jonathan Balshaw from Ipswich was there with his Polish girlfriend Dominika. The couple were outside St Mary's Basilica, in the corner of the square, when the shooting started.
Jonathan said: "We ran down the side of the church and through the side door and hid with several other people until the gunfire died down.
"A lot of shots were fired, more than 20 with it sounding like multiple different firearms - there were two distinctly different noises."
Caitlin Shasby from Newcastle arrived in Krakow yesterday with her friend Jon for a long weekend.
She said they heard shots from their hotel room but were not sure what was happening until their hotel rang them and told them to "stay in our rooms until further notice".
Local media outlet Gazeta Krakowska reported two surgeons rushed to help after the shooting stopped.
Dr Mateusz Wierdak and Prof Michał Pędziwiatr spoke to the media outlet saying they helped the wounded after having lunch with their families.
Pędziwiatr says two police officers "were conscious, in superficial contact with gunshot wounds to the chest", adding: "The perpetrator was also conscious, expressed pain, and had gunshot wounds to the abdomen, thigh, and chest."
"We don't feel like heroes, but we did everything a paramedic would do at the scene of such an incident."
What has the reaction been in Poland and internationally?
After travelling to Krakow, Prime Minister Donald Tusk said : "Until now in Poland we haven't had such drastic cases of terrorism...that's what we have to call this cruel attack on people's lives here in Krakow."
Krakow Mayor Łukasz Gibała has signed an order declaring a period of mourning in the city which will last until Wednesday, 11 November.
UK Prime Minister Andy Burnham said: "I'm shocked and saddened by the appalling shooting in Kraków today."
"My thoughts are with the families of those who have lost their lives, everyone injured and all those affected by this senseless violence. The United Kingdom stands in solidarity with the people of Poland," he added.
British foreign secretary Ed Miliband said on social media the UK government "deeply mourns" those who died in the "appalling attack".
US ambassador to Poland Tom Rose described it as a "savage and murderous attack".
The EU's top diplomat, Kaja Kallas, said the shooting was "a tragedy that will be felt far beyond Poland".
President Volodymyr Zelensky of neighbouring Ukraine called the shooting "shocking."
"On behalf of the Ukrainian people, and personally, I extend my sincere condolences to the families and loved ones of the victims," he wrote on social media.
Topics in this story
Gathered from external sources. Rights to this text belong to whoever originally published it.