One man has been killed and three others wounded in a knife attack at a railway station east of Munich early Tuesday, prosecutors said, adding that the incident may have been politically motivated.
The 50-year-old man died of his injuries after being taken to hospital, prosecutors and Bavaria's State Criminal Investigation Bureau said.
Investigators said the assailant lunged suddenly at the man and three other male victims aged between 43 and 58 at a train station in Grafing, a town 30 kilometres east of Munich. They added that the 27-year-old suspect is a German national.
The attack occurred at around 5 am (0300 GMT).
Police said that the suspect was arrested at the scene and a criminal investigation has been launched by authorities in the southern German state of Bavaria.
"The assailant made statements during the act which indicate a political motive," the authorities said in a statement.
Bayerischer Rundfunk reported that the assailant had cried "Allahu Akbar," or "God is great," according to witnesses at the scene.