Which US constitutional amendment freed the slaves at the end of the Civil War?

The 13th amendment to the United States Constitution freed the slaves.