In 1849, when Zachary Taylor became president, the new territories the U.S. gained after the Mexican-American war caused the issue of slavery to become critical again. The California Gold Rush had caused the population there to suddenly increase and Californians now wanted statehood as a free state. This upset the balance of 15 free states and 15 slave states established by the Missouri Compromise.