When the Republican party formed what was its primary goal?

To keep popular sovereignty to maintain the series of compromises to keep slavery out of the territories to abolish slavery altogether

The primary goal of the Republican Party when it was formed in the mid-1850s was to oppose the expansion of slavery into new territories and to ultimately abolish slavery altogether. However, it is important to note that the party's stance on slavery evolved over time, with some members initially advocating for the restriction of slavery rather than its complete abolition.