The Missouri Compromise: What Was it and How Did it Contribute to the Civil War? The Missouri Compromise was passed into law in 1820 and regulated slavery in the western states. Though it was passed forty-one years before the Civil War, it still played a large role in laying the groundwork for the war that was to come.