A new law passed in Tunisia to crack down on violence against women has been hailed as a “landmark” of progress by human rights groups.

It also abolishes a controversial clause that allowed rapists to escape punishment if they then marry their victims.

The North African country currently has one of the highest rates of domestic violence in the world with research showing nearly half of all women is a victim at some point in their life.

Tunisian women’s rights organisations have campaigned for a domestic violence law for decades.

The Law on Eliminating Violence against Women is the first piece of legislation ever put through by the country's government which recognises domestic abuse as a crime.

The legislation allows women to seek protection from acts of violence committed by their husbands and other relatives and also includes provisions on harassment in public spaces and economic discrimination.

“It's a very moving moment and we are proud in Tunisia to have been able to gather around a historic project,” said Women's Minister Naziha Laabidi.

The new law, due to come into force next year, recognises “physical, moral and sexual” violence.

It will allow for the prosecution of abusers and psychological and practical assistance for victims of domestic violence.

Uprising brings joy to Tunisia – and fear to the region's autocrats Show all 8 1 /8 Uprising brings joy to Tunisia – and fear to the region's autocrats Uprising brings joy to Tunisia – and fear to the region's autocrats Protesters celebrate in Tunis yesterday Reuters Uprising brings joy to Tunisia – and fear to the region's autocrats Tunisia's new interim president Fouad Mebazaa EPA Uprising brings joy to Tunisia – and fear to the region's autocrats Briton Lizzy Roe, 18, (pictured with her mother) is due to marry her Tunisian fiancé in two weeks Reuters Uprising brings joy to Tunisia – and fear to the region's autocrats A man carries goods from the house of Belhassen Trabelsi, the brother of the former President's wife, Leila Ben Ali, in Sokra AP Uprising brings joy to Tunisia – and fear to the region's autocrats A supermarket is on fire after it was sacked and looted in Bizerte, Tunisia AP Uprising brings joy to Tunisia – and fear to the region's autocrats Workers clean a train station dammaged overnight GETTY Uprising brings joy to Tunisia – and fear to the region's autocrats People take goods from a destroyed store in Tunis GETTY Uprising brings joy to Tunisia – and fear to the region's autocrats A tank is seen next to the portrait of former Tunisian President Zine El Abidine Ben Ali, on a street in Tunis AP

Tunisia is seen as a pioneer of women's rights in the Arab world, but human rights groups say women are still discriminated against in all areas of life.

Sayida Ounissi, a government minister from the Islamist Ennahda Party, promised when the bill was introduced that it would redefine the role of the state in protecting women in a country where some still consider domestic violence to be a “private” matter.

She said: “The state is now being pushed to acknowledge that even if you [are violent towards women] behind closed doors, you are accountable to the rest of society for what you are doing because we are together paying the cost of your actions… in terms of insecurity, in terms of health, in terms of violence.”

More than 30 percent of parliamentarians in Tunisia are women - the highest rate of female representation in any Arab country.

Amna Guellali, Tunisia office director at Human Rights Watch, welcomed the new law but cautioned that sufficient funding would be required to implement the sweeping reforms.

“Tunisian authorities should ensure that there is adequate funding and political will to put the law fully into effect and to eliminate discrimination against women.

“While the law requires authorities to refer women to shelters if they are in need, it provides no mechanisms for funding either governmental or nongovernmental shelters.

“It also does not set out provisions for the government to provide women with timely financial assistance to meet their needs or assistance in finding long-term accommodation. The law, in sum, does not stipulate how the state will fund the programs and policies it brings into being.”