Kabul, Afghanistan (CNN) -- An Afghan woman imprisoned for adultery after a relative raped her has been freed after President Hamid Karzai intervened on her behalf.
The woman, identified only as Gulnaz for her own protection, had been sentenced to prison for 12 years after she reported that her cousin's husband had raped her two years ago. Wednesday, she was free at a women's shelter in Kabul, with her daughter.
Her plight gained international attention when the European Union blocked the broadcast of a documentary about her ordeal, saying it would further jeopardize her safety.
Afghan Justice Minister Habibullah Ghaleb and a judiciary committee both proposed a pardon. Karzai then ordered authorities to decree Gulnaz's release.
After the attack two years ago, Gulnaz hid what happened as long as she could. She was afraid of reprisals. But soon she began vomiting in the mornings and showing signs of pregnancy. It was her attacker's child.
In Afghanistan, this brought her not sympathy but prosecution. She was found guilty by the courts of sex outside of marriage -- adultery -- and sentenced to 12 years in jail. She was only 19.
As shocking as it may seem, Gulnaz's case is far from isolated.
Last month, CNN asked a spokesman for the prosecutor to comment on the case. The reply was that there were hundreds of such cases, and the office would need time to look into it.
Reported cases of violence against women, from domestic abuse to rape to honor killings, are on the rise, according to the Afghan Women's Network.
One problem is that Afghan law fails to clearly distinguish between rape and adultery, which is a crime under Shariah, or Islamic law. The courts say Gulnaz was to blame for having sex with a married man.
Interview with Gulnaz
In conservative Afghan society, Gulnaz faces considerable pressure to marry her attacker, soothing the rift between the two families, restoring her honor and legitimizing her daughter.
She was willing to do so in order to end her incarceration, she told CNN last month from Kabul's Badam Bagh jail, though she does not want that option. She would like to marry an educated man, according to U.S. attorney Kimberly Motley in Kabul.
Gulnaz's choices now are stark. Women in her situation are often killed for the shame their ordeal has brought the community.
A United Nations human rights document on Afghan women said "women are perceived as receptacles of family honor, their opposition to family dictates about marriage often puts them at risk of brutal physical punishment. So-called 'honor' killings recognize a man's right to kill a woman with impunity because of the damage that her immoral actions have caused to family honor."
Gulnaz could still be at risk from her attacker's family.
From jail, Gulnaz's convicted rapist denied raping her. Her life would probably end if she ever made it out of jail, he said. But it would be her family, not his, that would kill her out of the shame she has wrought.
How Gulnaz will be able to re-assimilate into the life she once had remains a difficult question. She is free from jail but not from her ordeal.