When Republican Party formed what was its primary goal?

A. To keep popular sovereignty
B. To maintain a series of compromises
C. Keep slavery out of the territories
D. To abolish slavery altogether

C. Keep slavery out of the territories.