Slavery had been practiced in British America from early colonial days, and was legal in all thirteen colonies at the time those colonies formed the United States.
...
First slave laws.
Date Slaves
1776–1800 36,277
1801–1825 93,000
1826–1850 105
1851–1866 476