What did North Carolina's legislature hope to accomplish by passing black codes? O They wanted African Americans to have the same rights as white citizens. O They thought the laws would help African Americans transition to freedom O They believed the laws would ensure African Americans would be repaid for being enslaved. O They sought to guarantee that African Americans would not gain equality with whites. ​