The Islamic State group (IS) has claimed responsibility for an attack on a train in Germany that injured at least five people.
The claim was posted on the group's Aamaq news agency on Tuesday.
It came just hours after a 17-year-old Afghan asylum seeker attacked passengers with an axe and knife on a train near Wuerzburg-Heidingsfeld on Monday night, before he was shot and killed by a special police unit.
The statement says the attacker was "a member of the Islamic State" group and carried out the attack in response to the militant group's calls to attack countries that are members of the anti-IS coalition.
A senior Germany security official said earlier Tuesday that a hand-painted flag of the IS group was found in the attacker's room.