 In the late 8th-century Chaghaniyan fell under the direct control of the Abbasid Caliphate, which had succeeded the Umayyad Caliphate in 750.The Muhtajids, an Iranian dynasty which in the 10th-century gained control over Chaghaniyan, may have been descended from the Chaghan Khudahs.The founder of the Muhtajid dynasty was Abu Bakr Muhammad, who was a vassal of the Samanids, another Iranian dynasty.