What was the purpose of the Missouri Compromise?

to maintain an equal number of senators from the North and the South

to allow new states to decide whether they would ban enslavement

to set rules for immigration into the United States

to encourage the North and the South to have separate economies