The Missouri Compromise of 1820 provided that:

AMissouri be admitted as a slave state
BMaine be admitted as a free state
Cslavery was prohibited in the Louisiana Purchase north of the 36° 30' north latitude line, with the exception of Missouri
Dall of the above