For more than 200 years before the Civil War, segregation between white people and black people existed in the United States. After the war though, things were even worse for African Americans; the Southern legislatures, former confederates, passed laws known as the black codes, after the war,