The north proved that secession was legal.
The 1869 Supreme Court decision in White V. Texas declared otherwise.