A 24-year-old Norwegian citizen accused of fighting for the Islamist State in Iraq and Syria (ISIS) was given an eight-year jail term on Monday on charges of abetting a terrorist organisation, local media reported.

Ishaq Ahmed fought for ISIS before joining the Al-Nusra Front, Al-Qaeda’s Syrian affiliate, prosecutors said.

Ishaq Ahmed posing with weapons in Syria. Photo: PST

An Oslo court found Ahmed “must be deemed to have had major involvement” in their activities and there were no mitigating circumstances, NTB news agency said.

Prosectors said he left the southeastern town of Fredrikstad in 2013 to head for Syria.

Early 2014, suffering a bullet wound, he crossed the Syrian border into Turkey, where he contacted the Norwegian embassy to seek help to get back home.

Photographs posted to a friend on Facebook showed him posing with weapons and in the months before his departure he carried out online research into weapons and body armour, according to the prosecution.

Ahmed said he was innocent and was only in Syria to carry out humanitarian work.

Prosecutors had sought eight years, compared with a nine-year maximum for the offence.

It is the second trial in Norway over suspected links to ISIS militants who have seized swathes of Iraq and Syria.

The first trial in May saw three men aged between 25 and 30 receive jail sentences ranging from seven months to four years and nine months.