qnli question: What was the economy of North Carolina based on after the confederacy? sentence: In the first half of the 20th century, many African Americans left the state to go North for better opportunities, in the Great Migration.