African Americans had been enslaved in what became the United States since early in the 17th century. Even so, by the time of the American Revolution and eventual adoption of the new Constitution in 1787, slavery was actually a dying institution. As part of the compromises that allowed the Constitution to be written and adopted, the founders agreed to end the importation of slaves into the United States by 1808.