How many states remained in the Union?