喀喇汗国
The struggles of the Turkic slave generals for mastery of the throne with the help of shifting allegiance from the court's ministerial leaders both demonstrated and accelerated the Samanid decline. Samanid weakness attracted into Transoxiana the Karluks, a Turkic people who had recently converted to Islam. They occupied Bukhara in 992, establishing in Transoxania the Kara-Khanid Khanate.