The Thirteenth Amendment officially ended all slavery in the United States in 1865.
The legislation that officially ended all slavery was the Thirteenth Amendment. It was passed by Congress in early 1865 and ratified by the states later that year, abolishing slavery and involuntary servitude.
https://brainly.com/question/12879864