The train was travelling between Regensburg and Nuremberg at the time of the attack
German officials said they later found a hand-painted IS flag in the attacker's room
A spokesman for the interior ministry had said it was quite probable that this was an Islamist attack