A woman was killed and two people injured by a 21-year-old Syrian asylum-seeker armed with a machete on Sunday in the southwest German city of Reutlingen, the local police said.
The man, who has been detained, "had a dispute" with the woman and killed her "with a machete" before injuring a second woman and a man, according to a police statement that offered no explanation on the cause of the attack.
The man was "known to police", the statement said.
"According to the information available, the perpetrator acted alone, the people of Reutlingen and its surroundings are very probably not in danger," it added.
News channel NTV said there were scenes of panic in the city centre following the attack.