The Missouri Compromise was a legislative agreement reached in 1820 that aimed to maintain the balance of power between free and slave states in the United States. It allowed Missouri to enter the Union as a slave state while Maine was admitted as a free state, effectively maintaining the delicate equilibrium between North and South. This compromise highlighted the growing sectional tensions surrounding slavery and set a precedent for future territorial expansion.