Answer
Regulating slavery, the Code Noir was a set of laws enacted in the French colonies in the 17th and 18th centuries. It defined the legal status of slaves, their treatment, and the punishments for disobedience. The code aimed to maintain social order and control the enslaved population, ensuring the economic stability of the colonies.