The compromise was agreed to by both the pro-slavery and anti-slavery factions in the United States Congress and passed as a law in 1820, under the presidency of James Monroe. The Missouri Compromise was effectively repealed by the Kansas–Nebraska Act, submitted to Congress by Stephen A. Douglas in January 1854.