Ghar-ilchi

Ghar-ilchi may have been the last member of a local "Khingal dynasty" founded by Khingila, the Alchon Hun ruler.

In the same year, the city was established as Xiuxian Area CommandGhar-ilchi was formally installed as king of Jibin (former Kapisi/ Kabulistan) by the Chinese Tang dynasty emperor in 653 CE, and again as Governor of Jibin under the newly formed Chinese Anxi Protectorate, the "Protectorate of the Western Regions", in 661 CE.

[9][3] In 665 CE, general Abd al-Rahman ibn Samura launched an expedition to Arachosia and Zabulistan, capturing Bost and other cities.

[12] The powerful Turkic prince Barha Tegin took this opportunity to capture Kabul, and, according to the 726 CE account of the Korean monk Hyecho who visited the region, the ruler of Kabul (Kapisa), probably Ghar-ilchi, was eventually killed by the Turkic prince:[2] From Kashmir I travelled further northwest.

Thereafter, the territory from this country to the north was all ruled by the Turkish king, who also resided in the country.Ghar-ilchi was succeeded by Barha Tegin, who took the throne in 665-666 CE and founded the dynasty of the Turk Shahis.

Account of Gandhara by Hyecho (first three lines given here).