Between 1801 and 1861, the United States underwent vast territorial expansion through the Louisiana Purchase which doubled the country's size, the acquisition of Florida from Spain, the addition of Texas after it became an independent republic, dividing the Oregon Territory with Britain, and gaining California and the Southwest Territory after the Mexican-American War.