What was the main purpose of the Black Codes?
The main purpose of the black codes was to regain power over the blacks and use the law to do so
to preserve white supremacy