Ikhshid (Persian: اخشید; from Sogdian: xšyδ, [xšēδ] Error: {{Lang}}: Non-latn text/Latn script subtag mismatch (help)) was the princely title of the Iranian rulers of Soghdia and the Ferghana Valley in Transoxiana during the pre-Islamic and early Islamic periods.[1] The title is of Iranian origin; scholars have derived it variously from the Old Iranian root khshaeta, lit. 'shining, brilliant', or from khshāyathiya, 'ruler, king' (which is also the origin of the title 'shah').[1]
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.[1] 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.[2]
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.[3] 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.[4]
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 ikhshid of Ferghana who called upon the Chinese for aid against the Arabs, resulting in the Battle of Talas.[1]
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.[1][5]