BERLIN (AP) — German authorities have arrested two German-Moroccan brothers suspected of being members of the Islamic State and al-Nusra Front extremist groups.

Federal prosecutors said the two men, who were only identified as 25-year-old Rachid B. and 24-year-old Khalid B. in line with German privacy laws, were arrested Tuesday near the western city of Bonn.

Prosecutors alleged both men traveled to Syria in 2013, where they trained in military camps. Rachid B. initially joined al-Nusra and is accused of kidnapping and holding an alleged spy. He later joined IS and participated in several battles.

The younger brother, Khalid B., joined IS right away, went to a military training camp and also participated in IS battles.

The statement didn’t say when or why the two men returned to Germany.