Answer: Black codes were restrictive laws designed to limit the freedom of African Americans and ensure their availability as a cheap labor force after slavery was abolished during the Civil War.
Explanation: Outrage over black codes helped undermine support for President Andrew Johnson and the Republican Party.