Monroe's presidency from 1817 to 1825 was known as the "Era of Good Feelings" due to a sense of national unity following the War of 1812. The economy flourished due to high foreign demand for American goods. However, a depression in 1819 occurred when British merchants flooded the American market with cheap goods, hurting domestic manufacturers. During this time, the Marshall Court issued several rulings that strengthened the federal government and limited state power, including McCulloch v. Maryland. The Missouri Compromise of 1820 resolved a divisive debate over the expansion of slavery into new states and territories by admitting Missouri as a slave state and Maine as a free state.