Jefferson’s lawyer, Afif Abdul Qoyim, told AFP the execution should not have gone ahead as his client this week filed a legal appeal. “When this process is not respected, that means that this is no longer a country that upholds the law, nor human rights,” he said.

Lawyers said there was evidence to suggest Jefferson was not guilty of the crime for which he was condemned to death – possessing 1.7kg of heroin – including an admission of guilt on his deathbed by the man who allegedly framed him.

Amnesty International described the execution as “a deplorable act”.

“Any executions that are still to take place must be halted immediately. The injustice already done cannot be reversed, but there is still hope that it won’t be compounded,” said Rafendi Djamin, Amnesty’s director for south-east Asia and the Pacific.