After the Reconstruction period ended following the Civil War, southern states (the old Confederacy) began enacting Jim Crow laws. These laws mandated that all public facilities be segregated. They were also used in an attempt to keep African-Americans from voting and even to keep interracial marriage illegal.