Berlin: The incident happened on Monday night when a teenage from Afghan attacked passengers with axe and a knife in a regional train which was heading towards southern Germany.
The train was going from the Bavarian town of Treuchtlingen to Wuerzburg, which is about 100 kilometres northwest of Nuremberg.
Four people have been injured in the incident before he was shot and killed by police as he fled, authorities said.
‘Three persons have suffered serious injuries and the other was wounded. Another 14 people were being treated for shock’, Wuerzburg police said on their Facebook page.
The attacker has been identified as a 17-year-old Afghan, Bavaria's top security official, state Interior Minister Joachim Herrmann, told Germany's ARD television.
Last year, More than 150,000 Afghans entered Germany but it has not been finalized yet whether the suspect was among them or not.
Herrmann said, “Initial information was that the suspect came to Germany as an unaccompanied minor and had lived in the Wuerzburg area for some time, initially at a refugee facility in the town of Ochsenfurt and more recently with a foster family.”
He added, “Authorities were still investigating the motive of the attack and were looking into reports that the suspect had yelled out "an exclamation" during the rampage.’