A man attacked people with a knife at a shopping mall in southeastern Poland, killing one person and wounding nine others, police said. Shoppers detained the alleged attacker until police arrived.

The attack took place Friday afternoon at a mall in the town of Stalowa Wola.

A 50-year-old woman who was attacked at the mall died later in the hospital, the regional police spokesperson in Rzeszow, Anna Klee, was quoted by the PAP news agency as saying.

"He was attacking people from behind, hitting them with the knife," Klee told PAP.

Police chief Krzysztof Pobuta said the 27-year-old attacker was not able to explain his motives and was in an emotional state.

Pobuta said there's "no terrorist or ideological context for the attack, it is rather his poor psychological condition."

Regional governor Ewa Leniart says four of the injured have undergone surgery and two of them are in critical condition. She says five women and four men between 50 and 18 were wounded.

A breathalyzer test showed that he was sober and blood tests are being done to check whether he was under the influence of any other substances, another official said.