Which of the following was not a goal of the Black Codes in the South after the Civil War?
A. to keep African Americans in rural areas
B. to keep African Americans segregated
C. to keep African Americans in certain jobs
D. to keep African Americans from voting