Several people have been injured, some critically, after a teenager armed with an ax and a knife attacked train passengers in central Germany. The suspect, who was shot by police, has been identified as a 17-year-old “unaccompanied minor” of Afghan origin.

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.

❗ALERTE - Attaque à la hache dans un train à Würzburg en Allemagne, au moins 20 blessés. pic.twitter.com/ADp6sSaMhe — Infos Françaises (@InfosFrancaises) July 18, 2016

The perpetrator, who fled the scene after the attack, was “shot” by officers, police confirmed.

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 rejected claims of a possible second attacker, and are treating the attack as a “single perpetrator” case.

Some German media reports suggest that the teenager who resided in Ochsenfurt shouted “Allahu Akbar” (God is great) as he charged at his victims.

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

Polizei will sich jeden Moment bei meinem Kollegen melden. Noch ist kein Amoklauf bestätigt. #würzburgpic.twitter.com/CLZtTgPpXB — Christian Hüther (@huethi89) July 18, 2016

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