At the end of the 10th century, Tashkent became part of the possessions of the Turkic state of the  Karakhanids. In 998/99 the Tashkent oasis went to the Karakhanid Ahmad ibn Ali, who ruled the north-eastern regions of Mavarannahr. In 1177/78, a separate khanate was formed in the Tashkent oasis. Its center was Banakat, where dirhams Mu'izz ad-dunya wa-d-din Qilich-khan were minted, in 1195-1197 - Jalal ad-dunya wa-d-din Tafgach-khakan, in 1197-1206 - 'Imad ad-dunya va-d-din Ulug Egdish Chagry-khan.