section_path: History/Westward expansion and Civil War (1800 – 1865)
section_name: Westward expansion and Civil War (1800 – 1865)
paragraph_text: Westward expansion and Civil War (1800 – 1865)
  
  The Louisiana Purchase of 1803 from France nearly doubled the territory of the United States. Lingering issues with Britain remained, leading to the War of 1812, which was fought to a draw. Spain ceded Florida and its Gulf Coast territory in 1819. In the late 18th century, American settlers began to expand westward, many with a sense of manifest destiny. The Missouri Compromise attempted to balance desires of northern states to prevent expansion of slavery in the country with those of southern states to expand it, admitting Missouri as a slave state and Maine as a free state and declared a policy of prohibiting slavery in the remaining Louisiana Purchase lands north of the 36°30′ parallel. As Americans expanded further into land inhabited by Native Americans, the federal government often applied policies of Indian removal or assimilation. Organized displacements prompted a long series of American Indian Wars west of the Mississippi. The Republic of Texas was annexed in 1845, and the 1846 Oregon Treaty led to U.S. control of the present-day American Northwest. Victory in the Mexican–American War resulted in the 1848 Mexican Cession of California, Nevada, Utah, and much of present-day Colorado and the American Southwest. Political tension over the possible introduction of slavery in these newly acquired territories was temporarily reduced by the Compromise of 1850.
  
  During the colonial period, slavery had been legal in the American colonies, though the practice began to be significantly questioned during the American Revolution. States in the North enacted abolition laws, though support for slavery strengthened in Southern states, as inventions such as the cotton gin made the institution increasingly profitable for Southern elites. This sectional conflict regarding slavery culminated in the American Civil War (1861–1865). Eleven slave states seceded and formed the Confederate States of America, while the other states remained in the Union. War broke out in April 1861 after the Confederates bombarded Fort Sumter. After the January 1863 Emancipation Proclamation, many freed slaves joined the Union Army. The war began to turn in the Union's favor following the 1863 Siege of Vicksburg and Battle of Gettysburg, and the Confederacy surrendered in 1865 after the Union's victory in the Battle of Appomattox Court House. The Reconstruction era followed the war. After the assassination of President Abraham Lincoln, Reconstruction Amendments were passed to protect the rights of African Americans. National infrastructure, including transcontinental telegraph and railroads, spurred growth in the American frontier.