That part which lies east of the mountains was included in the Louisiana Purchase of 1803 and became successively a part of Missouri Territory in 1812, of Nebraska Territory in 1854, of Dakota Territory in 1861 and of Idaho Territory in 1863; that which lies west of the mountains became successively a part of Oregon Territory in 1848, of Washington Territory in 1853 and of Idaho Territory in 1863.