Shāhi Family, dynasty of some 60 rulers who governed the Kābul valley (in Afghanistan) and the old province of Gandhāra from the decline of the Kushān empire in the 3rd century ad. The word Shāhi, the title of the rulers, is related to the old Kushān form shao, or “king.” The dynasty probably descended from the Kushāns, or Turks (Tarushkas). Nothing is recorded of the history of the long line until the last king, Lagatūrmān, who reigned at the end of the 9th century and who was thrown in prison by his minister, a Brahman named Kallar. Kallar then usurped the throne and founded a new dynasty, the Hindu Shāhi, which ruled the area at the time of Maḥmūd’s invasion of India from Ghazna (modern Ghaznī, Afg.) in 1001. The Shāhis maintained a hopeless resistance against Maḥmūd’s forces but fell in 1021. They were so thoroughly extinguished that 30 years later the commentator Kalhaṇa said that men wondered whether they had ever existed. The historian al-Bīrūnī also noted their disappearance and paid high tribute to their nobility of character.