German train
© Michaela Rehle / Reuters
Over 20 people have reportedly been injured after an axe-wielding man attacked passengers on the railway line between Wurzburg-Heidingsfeld and Ochsenfurt, central Germany, local media reported.

German police confirmed that between 10 and 15 people were injured in the attack. Meanwhile local media reports suggested that up to 21 people could have been hurt.

At least three of the victims suffered "serious" injuries, police spokesman told local news outlet Blaulicht Würzburg.

Another person suffered light injuries, while all 14 passengers who had been in the same car of the regional train were in a state of "shock" following the onslaught.

A police helicopter was reportedly circling the area and a large number of officers were deployed to the scene. Over a dozen paramedics also arrived on site, according to photos shared on Twitter.

Witnesses said that the attacker fled the scene after the initial onslaught. The perpetrator was later shot by police, reported Gong.

Bavarian Interior Minister Joachim Herrmann announced that authorities believe that a 17-year-old teen of Afghan origin was behind the attack.

The suspect entered the country as an "unaccompanied minor" and lived with a "foster family" for the last two weeks. Before that he had been housed at the Kolping-Heim refugee center, FOCUS online reported.

The minister also refuted claims of a possible second attacker, and are treating the attack as a "single perpetrator" case.

Authorities have organized an alternative bus route for passengers as the train line between Wurzburg-Heidingsfeld and Ochsenfurt has temporarily been shut down.