History of South America

What is a sentence with the words Reconstruction and black codes about South after Civil War?

After the Civil War, southern states passed black codes as part of Reconstruction era to restrict the freedom of African Americans by imposing various Jim Crow laws.