Soon after the Louisiana Purchase, which transferred control of Missouri's land from the French to the U.S., Congress created the Missouri Territory in 1805. The territory would go on to become the 24th state in the Union, following a process set up by the Northwest Ordinance of 1787.
Drafted and accepted while the United States were under the Articles of Confederation, the Northwest Ordinance of 1787 set up a procedure by which territorial properties could become full-fledged states, equal to the original 13. The Ordinance held that prospective states must go through three stages of representation in government, advancing as the territorial population increases. It also prohibited slavery in the Northwest Territory (the region between the Ohio and Mississippi rivers), a provision that would complicate the admission of Missouri into the Union.
In 1805 Missouri became a first-class territory. Under the Northwest Ordinance, this meant that the government of Missouri would consist primarily of a governor, a secretary, and three judges. All five of these positions were to be appointed by the President; the territorial citizens did not get to vote. Thomas Jefferson chose James Wilkinson as governor, a highly controversial appointment. Suspicion about Wilkinson's loyalties led to political division in Missouri, and eventually resulted in his ouster in 1806. Secretary Frederick Bates and Indian affair superintendent William Clark served as acting governors until Jefferson's replacement appointee, Meriwether Lewis, arrived in 1808. In the midst of this confusion, the population of Missouri increased rapidly, further complicating some aspects of government, especially land title recognition.
This larger population, over 20,000, led to the recognition of Missouri as a second-class territory in 1812. As a second-class territory, Missouri citizens got the right to vote for their representatives in the lower house of the territorial legislature (the President appointed the upper house's members) and for a nonvoting representative in the U.S. House of Representatives. Second-class status also meant that municipalities could collect taxes and administer the day-to-day affairs of the growing areas. Missouri's population continued to increase – the mining and fur trading industries drew settlers, as did the fact that Missourians could legally own slaves.
Missouri became a third-class territory in 1816, meaning that its citizens could elect both houses of their territorial legislature. In 1818 the first petition for recognition of Missouri as a state was introduced in the U.S. House of Representatives by Missouri's delegate, John Scott. In 1819, Representative James Tallmadge complicated the proceedings, calling for an end to slavery in Missouri. Tension rose between slavery and anti-slavery forces, since at the time, there were an equal number of slave and free states – neither side wanted the other to have a majority.
The first Missouri Compromise helped clear the power-balance obstacle. Congressmen Henry Clay and Jesse Thompson orchestrated the agreement that would allow Maine to become a state at the same time as Missouri. Under the Compromise, Maine was to be admitted as a free state and Missouri was allowed to enter as a slave state. The Compromise further held that slavery would be prohibited in all other areas of the Louisiana purchase north of Missouri's southern border.
Following the Missouri Compromise, Missouri moved to draft a constitution. Slavery remained a polarizing issue – the Constitutional Convention's finished product was seen as conflicting with the U.S. Constitution in its prohibition of free blacks from emigrating to the State. Although Missouri had already held elections for state offices and selected a (temporary) state capital in 1820, it was not until mid-1821 that Missouri was officially admitted into the Union. Under Henry Clay's “Second Missouri Compromise,” Missouri's legislature had to pass a resolution promising not to enforce its state Constitution's “questionable” provisions. The first governor of Missouri, Alexander McNair, called for the legislature to make this resolution.
Missouri's state government complied, albeit reluctantly and not forcefully, and by President Monroe's proclamation formally made Missouri one of the United States. The strife that preceded its statehood foreshadowed upcoming conflicts – the Missouri Compromise is seen as one of the major cause of tensions that led to the Civil War. In spite of the conflicts, Missouri became the 24th state on August 21, 1821.