What was one of the main outcomes of the Civil War in terms of federal legislation?