More needs to be done to ensure that human traffickers are brought to justice and Rohingya migrants are protected, rights groups said Thursday, after a trial in which 62 people were convicted of crimes including trafficking and murder.

A Bangkok court convicted the 62, including a general, police officers and provincial officials, on Wednesday at the end of Thailand's biggest ever human-trafficking trial.

The proceedings began in 2015 after the discovery of more than 30 bodies in shallow graves near the Malaysian border, in what authorities said was a jungle camp where traffickers held migrants hostage until relatives paid ransoms for their release.