The election of 1860 and secession

Lincoln won the presidency without a single southern electoral vote, and seven states of the Deep South seceded before he took office, to protect slavery.

From AP United States History.