(Persian: اخشید; from Sogdian: xšyδ,) was the princely title of the Iranian rulers of Soghdia and the Ferghana Valley in Transoxiana during the pre-Islamic and early Islamic periods. The title is of Iranian origin; scholars have derived it variously from the Old Iranian root,, or from, 'ruler, king' (which is also the origin of the title 'shah').
The Ikhshids of Sogdia, with their capital at Samarkand, are well attested during and after the Muslim conquest of Transoxiana. The line survived into Abbasid times, although by then its seat was in Istikhan. Among the most notable and energetic of the Soghdian kings was Gurak, who in 710 overthrew his predecessor Tarkhun and for almost thirty years, through shifting alliances, managed to preserve a precarious autonomy between the expanding Umayyad Caliphate and the Türgesh khaganate.
Also, The ruler of Kāš (Kashgar) in the late 8th century, according to the Middle Persian Manichean text Mahrnāmag (Müller, lines 75-76), was called xšy∂ (‘ruler’ in Sogdian), with the title “Head of Auditors” and the name lyfwtwšy, which is possibly Chinese.[1] In the early 3rd century, Kashgar became a major power center in the "Western Regions". However, by the mid-3rd century, as per an inscription by Shapur I, Kashgar was likely the easternmost point of the Persian Sasanian Empire.[2]
The Arab authors report that the title was also used by the ruler of the Principality of Farghana during the same period: Ibn al-Athir reports that it was the of Ferghana who called upon the Chinese for aid against the Arabs, resulting in the Battle of Talas.
The title's prestige in Central Asia remained high as late as the 10th century, when it was adopted by the Turkic commander and ruler of Egypt Muhammad ibn Tughj, whose grandfather had come from Ferghana. After his title the short-lived Egyptian dynasty founded by Muhammad al-Ikhshid is known as the Ikhshidid dynasty.