By the peace of 1783 the land east of the Mississippi went to the United States, and the Louisiana Purchase of 1803 doubled its extent; after the annexation of Texas and the cession of the Southwest in 1848 the Pacific coast was in the union. Pioneers went west by the Cumberland Gap and the Oregon Trail, the gold rush of 1849 and the transcontinental railroad of 1869 followed, and the Homestead Act of 1862 granted land to settlers. Clearing the land and killing off the bison went together: the Indian nations, through the Trail of Tears of 1838, the Plains wars and the reservation system, lost both land and population, ending at Wounded Knee in 1890 — Native Americans won citizenship only in 1924. Yet "the frontier" became the nation's founding narrative: cowboys, pioneers, and Turner's frontier thesis of 1893 held that American character was formed by the advancing frontier. Railways and farm machinery brought the West into the national market, and the states west of the Mississippi were all admitted by 1912, the formation of a continental empire closing in those thirty years.