But I was informed that ended in 1865.

And that's why the term is "modern slavery".

On a more serious note, you might want to be aware that slavery is still legal in the US as a punishment for crime. For further reading, you might be interested in the prison industrial complex.

The world's a big place.