Hamid Karzai has been accused of trying to win votes in Afghanistan's presidential election by backing a law the UN says legalises rape within marriage and bans wives from stepping outside their homes without their husbands' permission.
The Afghan president signed the law earlier this month, despite condemnation by human rights activists and some MPs that it flouts the constitution's equal rights provisions.
The final document has not been published, but the law is believed to contain articles that rule women cannot leave the house without their husbands' permission, that they can only seek work, education or visit the doctor with their husbands' permission, and that they cannot refuse their husband sex.
A briefing document prepared by the United Nations Development Fund for Women also warns that the law grants custody of children to fathers and grandfathers only.
Senator Humaira Namati, a member of the upper house of the Afghan parliament, said the law was "worse than during the Taliban". "Anyone who spoke out was accused of being against Islam," she said.
The Afghan constitution allows for Shias, who are thought to represent about 10% of the population, to have a separate family law based on traditional Shia jurisprudence. But the constitution and various international treaties signed by Afghanistan guarantee equal rights for women.
Shinkai Zahine Karokhail, like other female parliamentarians, complained that after an initial deal the law was passed with unprecedented speed and limited debate. "They wanted to pass it almost like a secret negotiation," she said. "There were lots of things that we wanted to change, but they didn't want to discuss it because Karzai wants to please the Shia before the election."
Although the ministry of justice confirmed the bill was signed by Karzai at some point this month, there is confusion about the full contents of the final law, which human rights activists have struggled to obtain a copy of. The justice ministry said the law would not be published until various "technical problems" had been ironed out.
After seven years leading Afghanistan, Karzai is increasingly unpopular at home and abroad and the presidential election in August is expected to be extremely closely fought. A western diplomat said the law represented a "big tick in the box" for the powerful council of Shia clerics.
Leaders of the Hazara minority, which is regarded as the most important bloc of swing voters in the election, also demanded the new law.
Ustad Mohammad Akbari, an MP and the leader of a Hazara political party, said the president had supported the law in order to curry favour among the Hazaras. But he said the law actually protected women's rights.
"Men and women have equal rights under Islam but there are differences in the way men and women are created. Men are stronger and women are a little bit weaker; even in the west you do not see women working as firefighters."
Akbari said the law gave a woman the right to refuse sexual intercourse with her husband if she was unwell or had another reasonable "excuse". And he said a woman would not be obliged to remain in her house if an emergency forced her to leave without permission.
The international community has so far shied away from publicly questioning such a politically sensitive issue.
"It is going to be tricky to change because it gets us into territory of being accused of not respecting Afghan culture, which is always difficult," a western diplomat in Kabul admitted.
Soraya Sobhrang, the head of women's affairs at the Afghanistan Independent Human Rights Commission, said western silence had been "disastrous for women's rights in Afghanistan".
"What the international community has done is really shameful. If they had got more involved in the process when it was discussed in parliament we could have stopped it. Because of the election I am not sure we can change it now. It's too late for that."
But another senior western diplomat said foreign embassies would intervene when the law is finally published.
Some female politicians have taken a more pragmatic stance, saying their fight in parliament's lower house succeeded in improving the law, including raising the original proposed marriage age of girls from nine to 16 and removing completely provisions for temporary marriages.
"It's not really 100% perfect, but compared to the earlier drafts it's a huge improvement," said Shukria Barakzai, an MP. "Before this was passed family issues were decided by customary law, so this is a big improvement."
Karzai's spokesman declined to comment on the new law.
An act signed into law by Afghan President Hamid Karzai last month dramatically rolled back the rights of women in that country, according to human rights groups and a United Nations report on the bill by the United Nations Development Fund for Women.

The Afghan government has not provided a copy of the text of the Shia Family Law to the UN or to other outside groups requesting it, citing "technical problems", however, the UN and opposition politicians say that the bill contains numerous provisions restricting the rights of women, such as giving their husbands priority in court; requiring the husband's permission to leave the house, obtain education or employment, or to see a doctor; and reserving the custody of children to male relatives.

In its most controversial provision, though, the law's Article 132 requires wives to submit to their husbands' sexual demands, and says that a husband can expect sex with his wife once in every four days except in the event of illness. The United Nations argues that this is equivalent to spousal rape. Spousal rape is specifically prohibited in 45 countries worldwide and may be prosecutable by existing rape statutes in others.

The circumstances of the bill's passage have raised questions as well, with Senator Humeira Namati saying that the bill was not read out or debated in the House of Elders, the Afghan National Assembly's upper house and Shinkai Zahine Karokhail of the House of the People stating the bill received only limited debate in the lower chamber. "They wanted to pass it almost like a secret negotiation," Karokhail told the ''Guardian''. "There were lots of things that we wanted to change, but they didn't want to discuss it because Karzai wants to please the Shia before the election." Namati calls the new law "worse than the Taliban".

burqas cross a market in Parwan Province, Afghanistan.According to Karokhail and others, the law received Karzai's support in order to boost his popularity among Afghanistan's Shi'a population, which comprises an estimated ten per cent of the country, ahead of an upcoming election in August. A Monday ruling by the Afghan Supreme Court has allowed Karzai to remain in power in the interval between the expiration of his term on May 21 and the upcoming Afghan presidential election in August. It is unclear whether the law would apply only to Shi'a persons or to all Afghans.

Nonetheless some changes were made to the bill; the proposed minimum age of marriage for girls was raised to 16 from aged 9 and temporary marriage is not provided for. MP Shukria Barakzai says that "before this was passed family issues were decided by customary law" and that the new law, while not perfect, is an "improvement". MP Ustad Mohammad Akbari defended the bill as well, saying it protects women's rights: "Men are stronger and women are a little bit weaker; even in the west you do not see women working as firefighters."

A spokesman for Mr. Karzai gave reporters no comment.