Updated

The official Saudi news agency says a court has convicted eight men on terrorism-related charges, including plotting attacks on an oil refinery.

The defendants, seven Saudis and one Yemeni, were given prison sentences ranging from four months to eight years.

The official Saudi Press Agency reported Sunday that all eight were banned from traveling abroad for at least one year after their release.

Saudi Arabia runs a rehabilitation program that aims to dissuade militants from fighting alongside al-Qaida.

An audio recording released this month by al-Qaida in the Arabian Peninsula urged Saudis to revolt against the kingdom for allowing U.S. drones to launch missions from its soil and strike militants in neighboring Yemen.