Tarkhan, conquered Ferghana. However, at the same time Ferghana was invaded by the Umayyad general Muhammad ibn Khalid Azdi. Nevertheless, the ikhshids of Ferghana are still mentioned in sources. Ferghana was in 740 ravaged by another Umayyad general named Nasr ibn Sayyar. In 750, the Umayyad Caliphate fell, and was replaced by the Abbasid Caliphate. Farghana joined the Chinese side in the battle of Talas in 751. Nevertheless, Farghana remained out of Arab control from 715 until late 700s. Samanids In 819, the governor of Khurasan, Ghassan ibn 'Abbad, appointed the Samanid prince Ahmad ibn Asad as the ruler of Farghana, thus marking the end of the ancient dynasty which ruled Farghana. See also Principality of Khuttal Principality of Chaghaniyan Bukhar Khudahs Principality of Ushrusana References Sources States and territories disestablished in the 9th century Sogdians Former countries in Central Asia + States and territories established in the 8th century 810s disestablishments 8th-century establishments in Asia Former monarchies of Central Asia