One person was killed and several injured when a knife-wielding man went on a rampage Friday inside a supermarket in the northern German city of Hamburg, according to reports.

The assailant entered the store in the Barmbek district shortly after 3 p.m. local time, randomly attacked people and fled but was caught moments later, according to the Die Welt newspaper.

“Eyewitnesses followed him out and were able to inform the police. Shortly afterward, officers arrested the suspect on the street in the vicinity of the shop,” a police spokesman told the German outlet.

Police said several people suffered stab wounds and one of them died.

“There is no valid information yet on the motive or the number of people injured,” police said.

The Bild newspaper published a photo of a man believed to be the assailant sitting in a police car with a blood-soaked hood over his head.

The attack happened on the corner of Fuhlsbüttler and Hermann-Kauffmann streets in the major port city, police said.

Authorities warned people to stay away from the area.

With Post wires