The area was under French control dating to the 17th century and was later ceded to the Spanish. In 1812, southeast Missouri became the Territory of Missouri within the Louisiana Territory and the five original counties were formed: Cape Girardeau, New Madrid, St. Charles, St. Louis and Ste. Genevieve.