The Barbados Code, enacted in 1661, was a set of laws that established the legal framework for slavery in the British colony of Barbados. It provided a comprehensive system of control over enslaved people and codified their status as property, stripping them of basic rights and establishing harsh punishments for disobedience. This code laid the groundwork for slavery practices not only in Barbados but also influenced other British colonies, contributing significantly to the development of a plantation economy based on forced labor.