In the presidential election of 1860, the Republican Party, led by Abraham Lincoln, had campaigned against the expansion of slavery beyond the states in which it already existed. The Republicans were strong advocates of nationalism and in their 1860 platform explicitly denounced threats of disunion as avowals of treason. After a Republican victory, but before the new administration took office on March 4, 1861, seven cotton states declared their secession and joined together to form the Confederate States of America. Both the outgoing administration of President James Buchanan and the incoming administration rejected the legality of secession, considering it rebellion. The other eight slave states rejected calls for secession at this point. No country in the world recognized the Confederacy.