centered in Almalik, around the Ili River Valley. It comprised all the settled lands of Eastern Kashgaria, as well as regions of Turpan and Kumul which were known at the time as Uyghurstan, according to Balkh and Indian sources of the 16th and 17th centuries. The reigning dynasty of the Yarkent Khanate originated from this state, which existed for more than a century. In 1509 the Dughlats, vassal rulers of the Tarim basin, rebelled against the Moghulistan Khanate and broke away. Five years later Sultan Said Khan, a brother of the Khan of Moghulistan in Turfan, conquered the Dughlats but established his own Yarkent khanate instead. This put an end to the dominance in the cities of Kashgaria of the Dughlat emirs, who had controlled them since 1220, when most of Kashgaria had been granted to the Dughlat by Chagatai Khan himself. The conquest of the Dughlats allowed the Yarkent state to become the foremost power in the region. Qing dynasty The Qing dynasty gained control of the region in the middle of the 18th century. By the 19th century, due to its active trade with Ladakh, and an influx of foreign merchants, it became "the largest and most populous of all the States of Káshghar."(Kashgar). Yakub Beg (1820–1877) conquered Khotan, Aksu, Kashgar, and neighbouring towns with the help of the Russians in the 1860s. He made Yarkant the capital of the newly founded Turkic state of Yettishar, where he received embassies from England in 1870 and 1873. The Qing dynasty defeated Yakub at Turpan in 1877 after which he committed suicide. Thus ended the Yettishar kingdom, and the region returned to Qing Chinese control. Chinese merchants and soldiers, foreigners like Russians, foreign Muslims, and other Turki merchants all engaged in temporary marriages with Turki (Uyghur) women, since a lot of foreigners lived in Yarkand, temporary marriage flourished there more than it did towards areas with fewer foreigners like areas towards Kucha's east. The Earl of Dunmore wrote in 1894: Almost every Chinaman in Yarkand, soldier or civilian, takes unto himself a temporary wife, dispensing entirely with the services of the clergy, as being superfluous, and most of the high officials also give way to the same amiable weakness, their mistresses being in almost all cases natives of Khotan, which city enjoys the unenviable distinction of supplying every large city in Turkestan with courtesans. When a Chinaman is called back