One person was killed and six others were injured when a failed asylum-seeker brandishing a knife attacked shoppers in a Hamburg supermarket, shouting "Allahu Akbar" before being overpowered by passers-by, police and officials said.
The attack had been motivated by "hate," mayor Olaf Scholz said, although he stopped short of declaring it a terrorist incident.
"It makes me especially angry that the perpetrator appears to be a person who claimed protection in Germany and then turned his hate against us," he said.
More From This Section
Police said that the man was a 26-year-old born in the United Arab Emirates, but were unable to immediately confirm his nationality or identify the motive behind the violence.
News website Spiegel Online reported that the individual was named Ahmad A., who had arrived in Germany seeking asylum and had contact with the Islamist scene as well as a history of mental health problems and drug use.
The attacker had been scheduled to be deported, but the process had been held up as he lacked identity papers, Scholz said.
Police and the city-state's interior minister are expected to offer further details about the incident at a midday news conference today.
Germany has been on high alert about the threat of a jihadist attack since Amri's rampage in Berlin, for which the Islamic State group claimed responsibility.
Jihadists have also carried out a string of random assaults in European countries using knives.
Like the Hamburg attacker, Amri was a failed asylum seeker who could not be deported for lack of documents.
The similarity between the two cases risks reopening barely healed wounds over Chancellor Angela Merkel's decision to allow more than million migrants into Germany since 2015, with just two months to go until legislative elections in September.
"These criminals want to poison our free society with fear, but they will not succeed," mayor Scholz said.
Politicians were quick to jump on the attack, with the anti-migrant, anti-Islam and anti-European party AfD condemning the chancellor.
Disclaimer: No Business Standard Journalist was involved in creation of this content