Four men sentenced to death by military courts for assisting in suicide bombings and attacks on soldiers were hanged on Tuesday, officials said.

The executions were carried out at a prison in Kohat and the bodies were handed over to relatives, a prison official told AFP.

Pakistan hangs 4 Peshawar school massacre militants

Army chief confirms death sentences for 6 terrorists involved in Peshawar school attack

A senior security official confirmed the hangings and identified those executed as Noor Saeed, Murad Khan, Inayat Ullah and Israr Uddin.

“These prisoners were given death sentence by military courts on the charges of facilitating suicide bombings, causing damage to educational institutions, providing explosive materials to suicide bombers, providing vehicles to terrorists and murder of armed forces personnel,” the official said.

No details of specific incidents were released. The four were sentenced in April.

Execution orders for APS abettors endorsed

Local and international rights groups have criticised the military courts established in January, saying they fail to meet the standards necessary for a fair trial and lack transparency.

On December 2, Pakistan hanged four men linked to the Taliban’s massacre of more than 130 schoolchildren at Army Public School in Peshawar in December 2014.

The attack prompted a nationwide crackdown on extremism, with the establishment of military courts for a two-year period and the resumption of capital punishment after a six-year moratorium.

Military trial: ‘No forgiveness’ as four APS attack convicts executed

Rights groups have also criticised the resumption of executions, accusing Pakistan of hanging an estimated 300 people in less than a year — the majority of whom had not been convicted of extremism. No official figures are available.