A British man was among six people killed when a gunman opened fire in Krakow’s Main Square on Saturday afternoon. The 24-year-old Polish suspect is also suspected of killing his parents and sister, whose bodies were found at his family home.

Sixteen people were injured, including another Briton, two police officers and the suspect. Police shot and detained the attacker, who remains in hospital. Senior constable Jakub Kulik, who confronted him, is in a critical condition; police have appealed for blood donations.

The shooting began at about 3pm in the Old Town of Poland’s second-largest city. Authorities said the gunman, armed with an automatic weapon, drove to several positions in the square and opened fire at each.

Four women and two men were killed. Local officials identified three women and one man as Polish, and the other man as British. The fourth woman’s nationality remained unknown. Police commander-in-chief Marek Boron initially said two victims had yet to be identified. Eleven of those injured were Polish; the five foreign nationals were from Britain, Portugal, Russia, Germany and Austria.

On Sunday, police confirmed that the bodies found at the suspect’s home in Ostrowiec Swietokrzyski, about 93 miles north-east of Krakow, were his mother, father and sister. They are believed to have been shot.

Interior minister Marcin Kierwinski said the suspect held “very radical views” and “was fascinated by far-right ideologies”. Defence minister Wladyslaw Kosiniak-Kamysz called the shooting an “act of terror”. Those statements set out the authorities’ assessment; the suspect’s motive and responsibility for the deaths at his home remain under investigation.

Jonathan Balshaw, from Ipswich, was outside Mary’s Basilica with his girlfriend when the shooting began. They ran into the church and hid with others. He described hearing more than 20 shots, with two distinct sounds that suggested different firearms to him.

Neil Thaxton, from Knottingley in West Yorkshire, said he initially thought the gunfire was fireworks. Gift-shop staff sheltered him and others at the back, locked the doors and switched off the lights.

Prime Minister Andy Burnham expressed shock and solidarity with Poland. Defence Secretary Wes Streeting offered condolences and said he did not believe the British victim’s name had been released. Foreign Secretary Ed Miliband said the government deeply mourned the British national and other victims.

Mayor Lukasz Gibala announced mourning until 11 November. The Foreign, Commonwealth and Development Office advises British nationals in Krakow to follow local authorities’ advice and monitor local media.