Which of the following was not a purpose or intent of the Black Codes?
1) Allow choice of where to attend school
2) limit the rights of freedmen
3) help planters find workers to replace their slaves
4) keep freedmen at the bottom of the social order