A 20-year-old German man is going on trial in Frankfurt accused of being a member of the extremist Islamic State group.

Monday's case is the first such case to come to court in Germany and opens just days after the country banned Islamic State symbols and any propaganda activity for the group.

Prosecutors allege that Kreshnik Berisha, who once played for a Jewish football club, traveled last year to Syria, where he fought with the group before returning to Germany five months later.

Berisha faces up to 10 years in prison for membership of a foreign terrorist organization.

Heightened security measures have been put in place for the trial, which is expected to last until at least November.