I believe the answer is: Compromise Act of 1850
Compromise Act of 1850 was a compromise between anti-slave states on the north with the pro-slave states on the south 2 years after the and of Mexican-american war. This compromise lead to the creation of several states where slavery was legal and several states where slavery was banned.