who committed crimes such as those dealing with opium became slaves to the begs, this practice was administered by Qing law. Most Chinese in Altishahr were exile slaves to Turkestani Begs. While free Chinese merchants generally did not engage in relationships with East Turkestani women, some of the Chinese slaves belonging to begs, along with Green Standard soldiers, Bannermen, and Manchus, engaged in affairs with the East Turkestani women that were serious in nature. Slavery in Korea existed since before the Three Kingdoms of Korea period, in the first century BCE. Slavery has been described as "very important in medieval Korea, probably more important than in any other East Asian country, but by the 16th century, population growth was making [it] unnecessary". Slavery went into decline around the 10th century but came back in the late Goryeo period when Korea also experienced multiple slave rebellions. In the Joseon period of Korea, members of the slave class were known as nobi. The nobi were socially indistinct from freemen (i.e., the middle and common classes) other than the ruling yangban class, and some possessed property rights, and legal and civil rights. Hence, some scholars argue that it is inappropriate to call them "slaves", while some scholars describe them as serfs. The nobi population could fluctuate up to about one-third of the total, but on average the nobi made up about 10% of the total population. In 1801, the majority of government nobi were emancipated, and by 1858, the nobi population stood at about 1.5 percent of the Korean population. During the Joseon period, the nobi population could fluctuate up to about one-third of the population, but on average the nobi made up about 10% of the total population. The nobi system declined beginning in the 18th century. Since the outset of the Joseon dynasty and especially beginning in the 17th century, there was harsh criticism among prominent thinkers in Korea about the nobi system. Even within the Joseon government, there were indications of a shift in attitude toward the nobi. King Yeongjo implemented a policy of gradual emancipation in 1775, and he and his successor King Jeongjo made many proposals and developments that lessened the burden on nobi, which led to the emancipation of the vast majority of government nobi in 1801. In addition, population growth, numerous escaped slaves, growing commercialization of agriculture, and the rise of the independent small farmer class