The 16-year-old girl, named as Amina Filali, ate rat poison after a Tangier court which was supposed to be punishing her 26-year-old attacker decided that they should instead be wed.
This is because Moroccan laws exempt a rapist from punishment if he agrees to marry his victim.
Sentenced: A judge in Tangier (pictured) ordered the rapist to marry his victim as 'punishment'
Traumatised by the rape and the forced marriage, Moroccan newspaper al-Massae said she committed suicide at her husband's house.
Hafida Elbaz, director of the Women’s Solidarity Association, criticised the law and said rapists often believed they could avoid punishment by marrying their victims.
Rape victim: Gulnaz, who was pardoned by the Afghan president earlier this month, with her daughter in a Kabul jail. She was today released
The incident throws more light on the way women are treated in Islamic countries.
Last year Afghan 21-year-old Gulnaz was jailed for 'adultery by force' after she was brutally raped by her husband's cousin.
Her attacker was jailed for seven years for the crime that left her pregnant.
A global outrage saw the President of Afghanistan personally pardoning her and releasing her from Kabul's Badam Bagh jail, with no pre-conditions.