How did individual states secede from the union in 1861?

How did individual states secede from the union in 1861?

A. Through votes in their legislatures and conventions
B. By collecting the signatures of southern voters on petitions
C. Though a vote during the democratic party conversation
D. By collecting the signatures of southern slaveholders