A 16-year-old Danish girl who reportedly recently converted to Islam was charged Tuesday for allegedly planning a bombing attack against a Jewish school in Copenhagen and another school in Denmark.

Prosecutors presented the preliminary charges against her and a 24-year-old man suspected of being her accomplice in a court hearing Tuesday in Holbaek, northwest of the Danish capital. Reuters, citing local media, reported that her alleged accomplice was a former fighter in Syria.

Prosecutor Kristian Kirk said after the hearing that the suspects obtained chemicals and tried to produce explosives with the intent to commit terror attacks against the two schools.

He said police thwarted their plans by arresting them. He declined to give other details.

The suspects, who were not identified, deny the charges. The court extended their pre-trial detention until March 30.