Thousands of settlers were attracted to the Dakota Territory in the 1870s and 1880s for its cheap land, and the population began to rise. Many established small family farms, but some investors bought thousands of acres for bonanza farms, where they supervised the cultivation and harvesting of wheat as a commodity crop. The city grew quickly after the arrival of the Great Northern Railway in 1880 and the Northern Pacific Railway in 1887. In 1883, the University of North Dakota was established, six years before North Dakota was admitted as an independent state born from the Dakota Territory.