VOA’s Esha Sarai contributed to this report from Mauritania. 

A Mauritanian blogger, jailed for nearly six years in Mauritania, has said he only “saw the sun six times” during his incarceration. 

Citizen journalist Mohamed Ould Cheikh Mkhaitir has arrived in Europe after being freed last week, Amnesty International said in a release Monday. 

“Mkhaitir’s long-awaited release is a welcome development. He spent more than five years behind bars, mostly in solitary confinement. Mkhaitir should never have been arrested in the first place. He will now be able to resume his education and enjoy his human rights,” Amnesty’s Kine Fatim Diop said. 

Mkhaitir was arrested in 2013 and sentenced to death for what the state called blasphemy after he wrote a blog post condemning the use of religion to justify racial discrimination. 

In 2017, a Mauritanian court commuted Mkhaitir’s sentence to two years, which he had already served, legally liberating him. However, he remained detained in an undisclosed location.

Numerous human rights organizations had called on Mauritania President Mohamed Ould Abdel Aziz, who stepped down last week, to release Mkhaitir. Arnaud Froger, head of the Africa desk at Reporters Without Borders, called the case indicative of declining press freedom in the Sahara desert country.

FILE – Mauritania’s then-President Mohamed Ould Abdel Aziz speaks at the United Nations headquarters, Sept. 26, 2015.

Mkhaitir’s first trial sparked protests by Islamists in the capital calling for his death. The post for which he was arrested criticized the use of religion to defend a rigid caste system in Mauritania.

Mkhaitir is of the Haratin ethnicity, sometimes referred to as black Maurs. The Haratin face systematic discrimination as severe as modern slavery, a problem the Mauritanian government asserts no longer exists.

Amnesty on Monday called on Mauritania’s new president, Mohamed Ould Ghazouani, to ensure what happened to Mkhaitir “will never happen to anyone else in the country.”

“His government should immediately initiate a process to get laws criminalizing apostasy repealed. No one should be arbitrarily detained and charged, let alone sentenced to death simply for peacefully exercising their right to freedom of expression,” Amnesty’s Diop said.