The major platform of the Republican Party in the 1850s was an antislavery platform. Antislavery leaders opposed the extension of slavery into even more territories. Their opposition of slavery ended up helping them to join forces.
Hope this helps! :)