Malaysia’s Cabinet has agreed unanimously to do away with the mandatory death penalty for drug traffickers, a minister said on Monday, but the decision still has to be approved by Parliament.

The cabinet agreed to amend the colonial-era Dangerous Drugs Act of 1952 to give courts a choice in sentencing, Azalina Othman Said, a Minister in the Prime Minister’s department, said in a written parliamentary response.

Capital punishment is mandatory in Malaysia for murder and drug trafficking, among other crimes.

A total of 651 Malaysians have been sentenced to death since 1992 — most of them for drug offences, Azalina said. In March, Amnesty International ranked Malaysia tenth in the use of death penalty among the 23 countries that carried out capital punishment last year.