At least three people have died and six have been wounded in the German city of Würzburg after they were attacked by a man wielding a large knife, police say.
A man has been arrested, they say, and there is no further danger to the public.
Videos on social media appear to show a man armed with a knife being confronted and subdued by passersby and police.
A reporter for ARD public television said he had been told by police that there were no indications of a terrorist motive behind the attack.
The area around Barbarossaplatz, in the city centre, has been sealed off while investigations are carried out.
There is no indication of more than one attacker.
Police said the man was a 24-year-old Somali who lived in the south-west German town.
"The man, who lives in Würzburg, was hit with a police bullet, but his life is not threatened," Lower Franconia police said on Twitter.
"The attacker was overpowered after police used a firearm. There are no indications of a second suspect. There is no danger to the population."
Würzburg is a city of some 130,000 people south-east of Frankfurt.
- BBC / Reuters