Before Lincoln took office in March 1861 , seven slave states had declared their secession and joined to form the Confederacy .
Seven Southern states declared their independence from the Union after the election and formed the Confederacy , even before Lincoln became president on March 4 , 1861 .