Answer:
The 13th amendment (1865) freed slaves throughout the United States. It confirmed the Emancipation Proclamation (1863) that had pronounced slaves free in the Confederate states.
---
The thirteenth amendment to the US Constitution abolished slavery and all other forms of involuntary servitude, excluding involuntary labor as punishment for a crime.
"Section 1. Neither slavery nor involuntary servitude, except as a punishment for crime whereof the party shall have been duly convicted, shall exist within the United States, or any place subject to their jurisdiction.
Section 2. Congress shall have power to enforce this article by appropriate legislation."