Updated

A court in Saudi Arabia has sentenced an American and 23 other people to prison on charges they created a terrorist cell and planned attacks on foreigners and oil pipelines.

The official Saudi Press Agency says their sentences range from two to 27 years in prison. The state report on Wednesday said the U.S. national was sentenced to 17 years prison, six of those years for cyber-crimes. He was ordered deported after completing his sentencing.

The group also includes one Yemeni while the rest are Saudi.

State media did not release any names, did not disclose when the attacks took place and did not say when the men had been arrested.