The Democrats and Whigs were sharply divided over the slavery issue, and their power struggles cleared the way for the rise of a new political party, the Republican Party, which was formed in 1854 and stood united in their determination to prevent the spread of slavery into the territories and preserve the Union.