According to previous psychiatric assessments, the stabber from Würzburg was possibly not at fault when he attacked passers-by.

The Bavarian State Criminal Police Office and the Munich Public Prosecutor's Office announced on Tuesday whether the refugee's religious convictions from Somalia played a role in the act on June 25.

On the two cell phones of the 24-year-old, no references to propaganda material or other extremist content, nor clues to possible accomplices or confidants were found.

The man was brought before an investigating judge at the Würzburg district court on Tuesday, who ordered him to be placed in a psychiatric facility. So far, the Somali was in custody in a prison in Würzburg. The migrant had stabbed people who were obviously unknown to him in downtown Würzburg. Three women died and five people were critically injured. There were also four slightly injured - including a man who was not attacked directly by the knife. Rather, according to the investigators, he fell while trying to prevent the attacker from further attack.

The 24-year-old Somali was first registered in Germany in 2015. Since then, he had attracted attention several times because of mental health problems. So far, the authorities said they had no evidence that the man could endanger other people.