A Saudi woman has been sentenced to six years in prison for "acts of sedition" including pledging allegiance to the Islamic State jihadist group, newspapers reported on Thursday.

A court in Riyadh issued the sentence against the unnamed 27-year-old on Wednesday, the Saudi Gazette said.

But Al-Hayat daily reported that the judge decided to keep her in jail for only three years after she expressed "regret" for her "acts of sedition" and suspended the rest of the sentence.

She will however also be banned from travelling abroad for six years, it added.

The woman was convicted of pledging allegiance to Abu Bakr al-Baghdadi, leader of the Islamic State group which has seized territory in Iraq and Syria.

IS has claimed attacks in Saudi Arabia against members of the minority Shia community and the Saudi security forces.

She posted messages on Twitter supporting a deadly attack on security forces, and hung posters at a mosque and on utility poles to seek the release of a suspected militant, Saudi Gazette said.

Saudi Arabia is part of the US-led coalition bombing IS in Iraq and Syria.

Saudi political and religious leaders routinely denounce IS attacks - at home and abroad - as contrary to Islam.

Still, a report last year by the inter-governmental Financial Action Task Force said Saudis comprised the second largest nationality among "foreign terrorist fighters" with IS.

The verdict against the woman coincided with an upsurge of security incidents in Saudi Arabia over the past week.

Saudi police on Monday shot dead a suspected jihadist in the western province of Taif a day after one of their colleagues was killed in a shootout, the interior ministry said.

On May 5, another police officer was shot dead and four suspected jihadists were killed during a raid in an area between Taif and the region of Makkah.

Related Story