Was slavery a law in the United States?

Someone just told me on TikTok that it wasn't.

Yes it was
No it wasn't
Select gender and age to cast your vote:
A total of 11 votes were cast: 5 girls and 6 guys. See detailed results
Was slavery a law in the United States?
Post Opinion