Police found the bodies of the gunman’s sister Magdalena Oksińska, 21, a student at the Krakow Academy of Fine Arts, and his parents Renata Oksińska, 52, and 53-year-old Janusz Oksińska at the attacker’s home, 93 miles north-east of Krakow.

A source told Onet: “Many various items were found at his residence, at his workplace, and in the car he was driving, including badges, some of which represent specific symbolism.

“Their meaning will need to be determined and, after collecting further evidence, all of this will be forwarded to experts who will develop a psychological profile of the perpetrator.”

Poland’s national police force announced that a specialist taskforce had been set up in Kraków to investigate the incident.

Det Ch Insp David McAlinden, senior investigating officer from Police Scotland’s counter-terrorism policing unit, said: “We are aware of the tragic death of a Scottish man in Krakow.

“While formal identification is yet to take place, our family liaison officers are providing specialist support to his family in Scotland.

“Working in conjunction with [the Crown Office and Procurator Fiscal Service], Police Scotland is supporting the UK Counter Terrorism Policing network and the Polish authorities. The immediate shared priority is to ensure that identification is properly established for the family, so that repatriation can take place as quickly as possible.

“The family has asked for their privacy to be respected. Our thoughts are with them and everyone impacted by this incident.”