Was Southern secession legal?

Poll choices
Posted 7 years.