Sudanese authorities are to free a woman who was sentenced to death for having abandoned the Islamic faith, a foreign ministry official says.
Meriam Ibrahim, who gave birth to a daughter in custody, will be freed in a few days, the official told the BBC.
Abdullahi Alzareg, an under-secretary at the foreign ministry, said Sudan guaranteed religious freedom and was committed to protecting the woman.
Khartoum has been facing international condemnation over the death sentence.
In an interview with The Times newspaper, British Prime Minister David Cameron described the ruling as “barbaric” and out of step with today’s world.
The UK Foreign Office this week said that it would push for Ms Ibrahim to be released on humanitarian grounds.
Ms Ibrahim, 27, was brought up as an Orthodox Christian, but a Sudanese judge ruled earlier this month that she should be regarded as Muslim because that had been her father’s faith.
She refused to renounce her Christianity and was sentenced to death by hanging for apostasy.
On Wednesday, she gave birth to a daughter in her prison cell – the second child from her marriage in 2011 to Daniel Wani, a US citizen.