 Throughout the first half of the 19th century , the northeastern portion of the state was a part of the Northwest Territory , then the Illinois Territory , then the Michigan Territory , and finally the Wisconsin Territory . The western and southern areas of the state , although theoretically part of the Wisconsin Territory from its creation in 1836 , were not formally organized until 1838 , when they became part of the Iowa Territory . 
