During the 1840s, many Americans supported Manifest Destiny, or the belief that God wanted the United States to spread across all of North America. In 1844, James K. Polk was elected U.S. president, and he shared the belief that the United States should expand.
A boundary dispute between Mexico and Texas led to the U.S.-Mexican War. After the war, the United States added a large piece of land called the Mexican Cession. Debates over slavery in this territory helped lead to the Civil War.