Curiously, chattel slavery developed in British North America before the legal apparatus that supported slavery did. During the late 17th century and early 18th century, harsh new slave codes limited the rights of African slaves and cut off their avenues to freedom. The first full-scale slave code in British North America was South Carolina's (1696), which was modeled on the colonial Barbados slave code of 1661 and was updated and expanded regularly throughout the 18th century.[42]