As slavery became more institutionalized, more rules regulated its practice. By the mid-seventeenth century, colonies began developing “slave codes” to police African bondage. The codes determined that a child was born slave or free based solely on the mother’s status. They mandated slavery for life with no hope of emancipation.