Updated

Prosecutors say a 15-year-old girl who stabbed a police officer is being investigated on suspicion of supporting a terrorist organization.

Safia S., whose surname wasn't given due to privacy rules, was already being held on suspicion of attempted murder and serious bodily harm for attacking the officer with a kitchen knife at Hannover train station on Feb. 26.

In a statement Friday, federal prosecutors said the German-Moroccan teenager "adopted the radical-jihadist ideology" of the Islamic State group from November 2015 onward and had been in online contact with members of the group in Syria.

Prosecutors say she traveled to Istanbul hoping to reach Syria but was brought back by her mother, but while in Turkey members of IS convinced her to carry out a martyrdom operation in Germany.