Beirut, Lebanon CNN  — 

Long before Saudi Arabia announced it had carried out one of the largest mass executions in its history earlier this week, some of the men condemned to death had made impassioned pleas to the courts in a bid to save their lives.

Many said they were totally innocent, that their confessions had been written by the same people who had tortured them. Some claimed to have evidence of their abuse at the hands of their interrogators. And one reaffirmed loyalty to King Salman and his son, Mohammed bin Salman, in hopes of getting leniency from the court, trial documents show.

None of these arguments swayed the judges overseeing their trials in 2016, and the suspects were convicted of terror-related crimes and sentenced to death. On Tuesday, Riyadh announced that 37 men had been executed, including three who were minors when the kingdom said they carried out their crimes. One of the men was crucified after his execution, strung up and put on display as a warning to others.

Abdulkareem al-Hawaj