The new territory was essentially governed under the same provisions as the Northwest Ordinance, a 1787 act enacted for the creation of the Northwest Territory north of the Ohio River. The Northwest Ordinance's provision outlawing slavery was not applied to the Southwest Territory, however. Along with rules of governance, the Ordinance outlined steps a territory could take to gain admission to the Union. The first step involved the organization of a territorial government. The next step, which would take place when the territory had at least 5,000 adult males, was to organize a territorial legislature, with a popularly elected lower chamber and an upper chamber appointed by the president. The final step, which would take place when the territory had a population of at least 60,000, was to write a state constitution and elect a state government, at which time the territory would be admitted to the Union.