Hajar Raissouni’s conviction drew widespread criticism, with activists saying charges were an attack on press freedom.

Morocco’s King Mohammed VI has pardoned Hajar Raissouni, a journalist sentenced to a year in prison last month for extramarital sex and abortion, along with her fiance, a doctor and two of his colleagues, the justice ministry said.

The ministry described King Mohammed’s intervention as “an act of compassion and mercy” on Wednesday, adding that Raissouni and her fiance had wanted to establish a family legally.

Raissouni’s case drew widespread criticism from both Moroccan and foreign rights activists, who painted it as an attack on the free press and on civil rights.

Extramarital sex and abortion are illegal in Morocco.

However, the Moroccan Association for Abortion Rights, an activist group, said 600 to 800 abortions take place illegally each day. In 2018, 41 cases were brought over illegal abortions, according to a report released by the prosecutor’s office.

Raissouni, 28, works for Akhbar al-Youm, an independent newspaper that has been critical of the Moroccan state, and is the niece of a Muslim theologian who is a former leader of a politically influential Islamist group.

190909152602038

Raissouni said police had taken her for medical checks against her will and had asked her about her work at the newspaper and about her uncles.

Her lawyers and rights activists said the checks without her consent amounted to torture.

In court, the prosecutor dismissed any suggestion of procedural irregularities and said that the circumstances of Raissouni’s arrest had been legal and the case had nothing to do with her work as a journalist.

Raissouni and her fiancee had said in court that they had been married in a religious ceremony but had not yet arranged a legal marriage contract.

Police had said they detained her as she was leaving a clinic they were investigating for abortions.

Raissouni and her doctor said she was there to receive treatment for a blood clot and denied that she had had an abortion.