In 1833, the Tolpuddle Martyrs founded the Friendly Society of Agricultural Labourers. Trade unions were legal but because the members swore an oath of allegiance, they were arrested and tried in the Shire Hall.[26][27] Beneath the courtroom are cells where the prisoners were held while awaiting trial.