Any Southern state that accepted the end of slavery and rejected the Confederacy was readmitted into the Union. Southern whites speedily reasserted their supremacy . White officials who had saved the Confederacy were now elected to govern the southern states, and they introduced 'Black Codes' to ensure blacks did not gain economic, political, social and legal equality.