German prosecutors have charged two Syrian men with membership in a terrorist organization on allegations they fought with the ultraconservative Ahrar al-Sham group in Syria.

Prosecutors said Friday that 24-year-old Kamel T.H.J. and 22-year-old Azad R. fought with al-Sham against other rebel groups and Syrian government troops in the Aleppo area at least from August 2013 until April 2014, when Azad R. was injured.

They both then traveled to Turkey and in 2015 to Germany for him to receive medical help.

Both suspects were arrested in April and have been in custody since then.

Their last names weren't released in line with German privacy laws.