Wisconsin Territory was carved out of Michigan Territory when Michigan became a state. The Territory included all of present-day Minnesota, Iowa and part of the Dakotas up to the Missouri River. Iowa Territory was separated out in 1838.