Cape Girardeau, New Madrid, St. Charles, St. Louis, Ste. Genevieve formed as original districts of Louisiana District of the Indiana Territory. Present day Missouri was a part of the Spanish Louisiana Territory, owned by Spain, until 1805. It then became part of the Louisiana Territory until the Missouri Territory was formed in 1812. The state was formed in 1821 and was much smaller than the territory.