The United States acquired the area of Iowa from France in 1803 as part of the Louisiana Purchase. Iowa Territory was organized on June 12, 1838, from part of Wisconsin Territory; it included all of presentday Iowa, the eastern part of North Dakota and South Dakota, and the western part of Minnesota. Iowa was admitted to the Union on December 28, 1846, as the 29th state with generally the same boundary as the present state. The remaining part of the territory was unattached until the organization of Minnesota Territory in 1849. Nebraska and Iowa have made periodic adjustments to their boundary as the Missouri River has changed its course.