before siding with the Confederacy