DUBAI, United Arab Emirates (AP) – Police in Saudi Arabia have arrested a young woman who wore a miniskirt in public and who had posted the video online, sparking an outcry from people who say she flagrantly violated the kingdom’s conservative Islamic dress code.

Saudi Arabia’s state-run TV reported Tuesday that police in the capital, Riyadh, arrested the woman for wearing “immodest clothes” and referred her case to the country’s public prosecutor.

The young Saudi woman drew attention over the weekend when she shared on Snapchat a video of herself walking in a historic village north of the capital wearing a miniskirt and crop top, and showing her hair.

{“url”:”https://twitter.com/Shadw___F/status/886641292750540802″,”author_name”:”فـواز الوايلي”,”author_url”:”https://twitter.com/Shadw___F”,”html”:”u003Cblockquote class=”twitter-tweet”u003Eu003Cp lang=”ar” dir=”rtl”u003Eيجب ان لاتطلع في بلد محافظ بهذا الشكل ، عليها احترام القوانين ، ولاا سوف يكون مصيرها معروفu003Ca href=”https://twitter.com/hashtag/%D9%85%D8%B7%D9%84%D9%88%D8%A8_%D9%85%D8%AD%D8%A7%D9%83%D9%85%D8%A9_%D9%85%D9%88%D8%AF%D9%84_%D8%AE%D9%84%D9%88%D8%AF?src=hash&ref_src=twsrc%5Etfw”u003E#مطلوب_محاكمة_مودل_خلودu003C/au003E u003Cbru003E u003Ca href=”https://t.co/1ygF1UCD53″u003Ehttps://t.co/1ygF1UCD53u003C/au003Eu003C/pu003E- فـواز الوايلي (@Shadw___F) u003Ca href=”https://twitter.com/Shadw___F/status/886641292750540802?ref_src=twsrc%5Etfw”u003EJuly 16, 2017u003C/au003Eu003C/blockquoteu003Enu003Cscript async src=”https://platform.twitter.com/widgets.js” charset=”utf-8″u003Eu003C/scriptu003En”,”width”:550,”height”:null,”type”:”rich”,”cache_age”:”3153600000″,”provider_name”:”Twitter”,”provider_url”:”https://twitter.com”,”version”:”1.0″}

Saudi Arabia has strict dress codes for men and women. Women must wear loose, long robes and most also cover their face.

Ibrahim al-Munayif, a Saudi writer with more than 41,000 followers on Twitter, wrote on his official account that allowing people to disobey the law leads to chaos.

“Just like we call on people to respect the laws of countries they travel to, people must also respect the laws of this country,” he wrote.

Others defended her by posting images from President Donald Trump’s visit to Saudi Arabia in May, in which First Lady Melania Trump and his daughter Ivanka, though modestly dressed in higher necklines and longer sleeves, shunned wearing a head cover or the abaya.

Ivanka Trump’s blonde tresses and attire sparked a Twitter hashtag during the president’s visit, with Saudi males commenting on her looks and referring to the president as Abu Ivanka, meaning Ivanka’s father.