The United States acquired the area of Kansas from France in 1803 as part of the Louisiana Purchase. Part of the area was subsequently relinquished in a treaty with Spain in 1819, and was reacquired as part of the annexation of Texas in 1845. Kansas Territory was organized on May 30, 1854, from Missouri Territory (also identified in some statutes as Indian Country or Indian Territory), and included part of present-day Colorado. Kansas was admitted to the Union on January 29, 1861, as the 34th state, with generally the same boundary as the present state. The remaining part of the territory was included in Colorado Territory, which was organized in February 1861.