Answer:
The answer is below.
Step-by-step explanation:
Southern states enacted black codes after the Civil War to prevent African Americans from achieving political and economic autonomy. When slavery was abolished at the end of the Civil War, southern states created black codes, laws which aimed to keep white supremacy in place.