chain-gang (n.)

"a number of slaves or convicts chained together outdoors doing labor or during transit," 1816, from chain (n.) + gang (n.).