BERLIN (AP) — The federal prosecutor’s office says a 22-year-old German man has been detained at Duesseldorf airport upon his return from Turkey for alleged membership in the Islamic State group.

The office said in a statement Saturday that Anil O., whose last name was not given in accordance with German privacy law, is accused of having gone to Syria in August 2015 to join the extremist group.

The statement says he was given at least one Kalashnikov rifle and several hand grenades during his training and told to be ready to join IS’ fight.

The man also is suspected of having asked other people in Germany to move to Syria and Iraq to become part of the militant group.

The statement says the suspect left Syria and moved to Turkey last winter.