According to the provisions of the Northwest Ordinance of 1787, when could a territory apply for statehood?
after it had a population of 5,000 free adult males
after it had freed all of its enslaved people
after it had set up a state legislature
after it had a population of 60,000