The early 1800s saw many conflicts over the expansion of slavery into new states. The Missouri Compromise of 1820 created a line dividing free and slave states, but this was challenged by the California gold rush and its desire to join as a free state. The Compromise of 1850 admitted California as free and included the Fugitive Slave Act, while popular sovereignty was established for the Mexican Cession territories. Further tensions arose from the Kansas-Nebraska Act repealing the Missouri Compromise and Bleeding Kansas violence, leading to the formation of the Republican Party opposing slavery's spread.