In 1784, Yunus Khoja, the ruler of the dakha (district) Shayhantahur, united the entire city under his rule and created an independent Tashkent state (1784-1807), which by the beginning of the 19th century seized vast lands.