Answer:
To segregate blacks
Step-by-step explanation:
blacks, for example, could not vote or serve on juries in the south.the second purpose of the black codes was to help planters find workers to replace their slaves. the codes required freedmen to work.