What did the 13th amendment say in establish?

The 13th Amendment abolished slavery and involuntary servitude in the United States, except as punishment for a crime. It was passed by Congress on January 31, 1865, and ratified by the states on December 6, 1865.