A prison guard pleaded guilty to abusing detainees.