What did the Missouri Compromise do?

It allowed for the admission of Missouri as a slave state and Maine as a free state .