What were “black codes”?

A. laws that made life easier for former slaves in the South
B. laws that made life easier for former slaves in the North
C. laws that greatly restricted the civil rights and political liberties of former slaves in the South
D. laws that greatly restricted the civil rights and political liberties for all blacks in the North