Updated

German news agency dpa reports that a German man has been convicted of joining the Islamic State terrorist group and sentenced to 3 years and 9 months in prison.

Kreshnik Berisha was accused of traveling to Syria last year and fighting for the group, before returning to Germany five months later.

The news agency reported Friday that the sentenced handed to the 20-year-old by the Frankfurt regional court was halfway between those requested by prosecutors and the defense.

Berisha had avoided the maximum 10-year sentence possible under German law by testifying during the trial.