Authorities in Saudi Arabia had arrested the young woman for wearing "immodest clothes" after an outcry from people who say she flagrantly violated the kingdom's conservative Islamic dress code.

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

A statement released by the Center for International Communication said Wednesday that police released the woman, who was not named.

The woman was released Tuesday evening after a few hours of questioning, according to the statement released by officials, which said video was published without her knowledge.

The woman was identified only as Khulood, the New York Times reported. She told authorities that she was in public with her legal guardian—a male relative.

Women in Saudi Arabia must wear long, loose robes known as abayas in public. Most also cover their hair and face with a black veil, though exceptions are made for visiting dignitaries.

The video, first shared on Snapchat, shows her walking around an empty historic fort in Ushaiager, a village north of the capital, Riyadh, in the desert region of Najd, where many of Saudi Arabia’s most conservative tribes and families are from.

Competing Twitter hashtags emerged, with one demanding the woman’s arrest and another asserting that freedom of dress should not be a crime.

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.

With more than half of the population of Saudi Arabia under 25-years-old, the country’s 30-year-old heir to the throne, Crown Prince Mohammed bin Salman, has pushed for greater openings for entertainment in part to appease the country’s youth, but strict gender segregation rules and other restrictions on women’s movement remain in place.

Others defended her by posting images from President 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.

One Twitter user, whose post was shared more than 1,700 times, superimposed an image of Ivanka’s face on the young Saudi woman’s body, writing: “Enough already, the situation has been solved.”