Kenziebeavers99id Kenziebeavers99id History Answered The purpose of the slave codes was to legally protect enslaved persons. O legally protect slavery. O define how enslaved persons should be treated. O define an enslaved person's road to emancipation.