In Iran,Watch Brooklyn Nine Instagram models are paying a heavy price for the simple posting of a picture.

Twelve people have been sentenced to prison terms of up to six years for posting their photos to the social platform, France 24reports. Their convictions are part of the Iranian government's "Spider II" program, which hunts down Iranians seen as doing "un-Islamic acts" online.

So far at least 170 people, from make up artists to models, have been arrested through the operation that launched in March, according to the Associated Press. State-run television has said the new crackdown especially targets Instagram users -- such as Iranian model Elham Arab.

SEE ALSO: Megyn Kelly shuts down Trump supporter on Muslim registry 'precedent'

Eight women and four men were sentenced to prison terms ranging from five months to six years on Monday, according to France 24. They were convicted in the court of Shiraz, in southwest Iran, and their identities are not publicly known.

After they serve their prison terms, they can't travel outside the country for another two years, their lawyer, Mahmoud Taravat, told Iranian news agency ILNA News. They will eventually be able to work in fashion and modeling again, he added.

For months, Iran's Spider II program has been arresting and imprisoning people for what authorities consider immoral online activities.

Mashable Trend Report Decode what’s viral, what’s next, and what it all means. Sign up for Mashable’s weekly Trend Report newsletter. By clicking Sign Me Up, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy. Thanks for signing up!

@makeupbyelnazi👰🏼👰🏼👰🏼👰🏼👰🏼 @makeupbyelnazi👰🏼👰🏼👰🏼👰🏼👰🏼 @elhamarab1 @elhamarab1new #modeling #photoshoot #my❤ #makeup #elhamarab #eshgh #dubai من اين صبرو مديون لبخندتم چي ميخوام تا روياي تو با من چشاتو رو دنياي سردم نبند كه آينده تو چشم تو روشن تو اين روزها زندگي ساده نيست تتتتتتتتتتتو باعث شدي من تحمل كنم تو هستي نميترسم از بي كسي نميبينمت اما حس ميكنم كنارم قدم ميزني به من ياد ميدي صبوري كنم با اينكه هواي جهان خوب نيست به عشق تو دارم نفس ميكشم @roozbeh_nematollahi

A photo posted by Elham Arab (@elhamarab1) on

In November, the government shut down seven modeling agencies found online for “endangering moral security and public order," and arrested dozens of people, according to Iranian prosecutor Esmail Sadeghi Nyarki.

“All those active in this area, whether they were photographers, stylists, or models, were arrested after evidence was gathered,” Nyarki told Mizan, a state news agency. He said they were being investigated for "engaging in the commercial business of publishing vulgar content."

Back in May, another eight people were arrested for posting photos online. “We found out that about 20 percent of the (Iranian) Instagram feed is run by the modeling circle,” prosecutor Javad Babaei said on state television at the time, adding that these Instagram users are “making and spreading immoral and un-Islamic culture and promiscuity."

One of those people was popular model Elham Arab, who was questioned in court and forced to publicly apologize, her previously long flowing blonde locks dyed back to brown and covered by a hijab, The Telegraphreports.

“I think all humans are interested in admiring beauty and becoming famous,” she said in court. “But they must first consider at what cost and what they will lose in return. For an Iranian film star they may not lose much but for a model she will certainly lose her hijab and honor.” These days, the model no longer posts pictures on Instagram without her hijab.

Even back in January, Instagram models were facing arrest, such as the glamorous Iranian celebrity couple Elnaz Golrokh and Hamid Fadaei, who both eventually decided to flee to Dubai.

Makeup by : @elnaz_golrokh 💄 CONTOUR : @toofaced Cocoa Contour FOUNDATION : @tartecosmetics Water Foundation in "Light-Medium Neutral" EYESHADOW : @shophudabeauty #hudabeautyrosegoldpalette in Suede,Coco & Bossy EYELINER : @nyxcosmetics The Curve in "Jet Black" WATERLINE : @zoevacosmetics ▪ Black Box BROWS : @anastasiabeverlyhills #DipBrow & #BrowWiz in "Dark Brown" LIPS : @kyliecosmetics Kourt K Lip Kit #anastasiabeverlyhills #nyxcosmetics #nyxcosmeticsarabia #ZOEVA #kyliecosmetics #MorpheBabe #TeamMorphe #hudabeauty #anastasiabrows #tartiest #toofaced #makeupblogger #beautyblogger #bblogger #elnazgolrokh

A photo posted by Elnazgolrokh (@makeupbyelnaz) on

⌚️ @mstrwatches 👍🏻👍🏻 #mstrwatches #MSTR #MSTRyourCRAFT Use "ss16" code for Exclusive discount(10%) برای تخفیف ویژه (%10)در سایت از کد"HF17" استفاده کنید photo by @celebrity_studio #watches #watch #face #hamidfadaei #celebritystudio #fashionblogger #dubaiblogger #dubai #menstyle #bestofmenstyle #style #gentleman

A photo posted by Hamid Fadaei (@hamidfadaei) on

Instagram is actually pretty popular in Iran since Facebook, Twitter and YouTube all remain blocked. And public opinion there doesn't necessarily reflect the government's position on hijab wearing and other rigid moral codes.

Some have actively resisted the enforcement of head covering and an online campaign called My Stealthy Freedom shares photos of women in Iran proudly not wearing the headscarf.


Featured Video For You
This prince chilling on a Dubai skyscraper will give you coffee view goals