Answer: Slaves codes were state laws established to determine the status of slaves and the rights of their owners. Slave codes placed harsh restrictions on slaves' already limited freedoms, often in order to preempt rebellion or escape, and gave slave owners absolute power over their slaves.