The U.N. human rights office on Friday questioned the fairness of a Bahrain court that sentenced an anti-government protester to death and gave lengthy prison sentences to medical staff who treated the injured during the country’s uprising.

Bahrain’s military-run National Safety Court reportedly gave defendants and their lawyers little time to prepare, failed to investigate allegations of torture and conducted some trials in just 10 minutes, a spokesman for the U.N. High Commissioner for Human Rights said.