Indonesia on Tuesday signed an agreement to repatriate two British citizens, including a seriously ill pensioner who has been on death row for more than ten years on drug trafficking charges, AFP reports.

Indonesia has some of the world’s toughest drug laws but has released six high-profile prisoners over the past year, including a Filipina mother sentenced to death and the last five members of the so-called “Bali Nine” drug trafficking network.

Sandiford admitted her crimes but said she agreed to transport drugs after a drug syndicate threatened to kill her son. In 2013, she lost her appeal against the death sentence.

Justice and Human Rights Minister Yusril Ihza Mahendra announced that he had signed an agreement with UK Foreign Secretary Yvette Cooper on the transfer of Sandiford and 35-year-old Shahab Shahabadi, who was sentenced to life imprisonment in 2014 for drug-related offenses.

“We have reached an agreement to transfer the prisoners to the United Kingdom. The agreement has been signed,” Yusril told reporters in Jakarta, confirming AFP’s earlier report on their repatriation.

The prisoners will be handed over once the technical details of the transfer are finalized, which, according to the minister, may take “about two weeks.” Both inmates reportedly suffer from serious health problems.