Why did Congress agree to the Missouri Compromise?

A. All of the above

B. To address the conflict over slavery

C. To decide what states would join the union

D. To get settlers to move into the territory