When the Republican party formed what was its primary goal

The Republican Party was formed in 1854 with the primary goal of opposing the extension of slavery into the western territories of the United States. The party aimed to unite various anti-slavery forces and prevent the further expansion of slavery, which was a highly divisive issue at that time.