Semi-official Saudi news websites say a former soldier has been found guilty of fighting for the Islamic State group in Syria and has been sentenced to nine years in prison.

A court in Jiddah found the soldier guilty of taking part in training and violent operations with the Islamic State group in Syria. Saudi Arabia is part of the U.S.-led coalition carrying out airstrikes against the group in Syria and Iraq.

The court also barred him from traveling abroad for nine years after he completes his prison sentence and fined him 5,000 Saudi riyals (approximately $1,300).

News websites Alriyadh, Okaz and others carried the verdict Tuesday, saying the soldier had been working in the military corps before fleeing to Syria via Turkey.