The knife-and-axe attacker who injured four train passengers and a passer-by in Germany this week had been registered by the police on his arrival in the country as a refugee, a spokesman for the Interior Ministry said Friday.
Police had taken the 17-year-old's details on June 29 after he crossed the border from Austria with a migrant group. He was detained and reported by the police in Passau for entering the country illegally without a passport.
His fingerprints were taken and entered alongside his personal details into a national database, according to the spokesman. However, the computer had not found any matches. "He was new to the police databases, so to speak. There were no previous entries [on him]," he added.
The young attacker was shot dead by police as he fled from the scene near Wuerzburg after injuring four tourists from Hong Kong on a train and a passer-by.
It was not immediately clear if the attacker hailed from Afghanistan or Pakistan and if he was acting alone. The police inquiry continues.
Only one of the attack victims meanwhile remained in critical condition in an induced coma on Friday, while the others were on the mend, according to Georg Ertl of the Wuerzburg university hospital.
YouTube so far has failed to remove from its platform a video message posted by the attacker, in which he claims allegiance to the Islamic State terrorist group, the German national criminal police said.
The authorities several days ago had asked for the video to be removed to prevent copy-cat attacks.
In depth coverage
A gunman suspected of carrying out a terrorist shooting in Munich was an 18-year-old German-Iranian man, police chief Hubertus Andrae said Friday, adding that the motive for the crime is not known.
Police spoke of an "acute state of terror" in Munich Friday after several people were killed and several others injured in a shooting at the Olympia shopping centre in Munich.
At least one person was killed and several others injured on Friday in a shooting at the Olympia shopping centre in Munich, a spokesman for the Bavarian Interior Ministry told dpa.
Germans' fears about their nation being a terrorist target have jumped sharply in the wake of this week's knife-and-axe attack on rail passengers in the southern state of Bavaria, according to a poll published on Friday.
Federal prosecutors have taken over the investigation into a knife-and-axe attack on a German commuter train, suspecting the perpetrator of committing a targeted act "as a member of the so-called Islamic State" and raising the possibility of accomplices.
German authorities have identified a man shown in a video released by the Islamic State group as the teenage Afghan refugee who committed a stabbing attack on a German train, a German official told dpa Tuesday, establishing an apparent link between the terror group and the attack.
There is no evidence to suggest that a teenaged Afghan who injured five people on a commuter train in southern Germany with a knife and axe had ties to an Islamist terrorist network, Bavarian Interior Minister Joachim Hermann said Tuesday.