Well for one, the 13th amendment to the constitution of the US which abolished slavery - did not abolish slavery for those convicted of a crime.
Had it not been for slavery, the death penalty would have likely been abolished in America. Slavery became a haven for the death penalty.