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. The codes deprived the enslaved of legal rights, required permission for slaves to leave their master’s property, forbade marriage between enslaved people, and prohibited them from carrying arms.