Anuk. The origin of this chief was Turkic, though it is not known if he was a Samanid vassal or an independent ruler. Josef Markwart suggests he was a late representative of the Zunbils. The Lawik dynasty of Ghazni was linked to the Hindu Shahi dynasty through marriage. Alp-Tegin was accompanied by Sabuktigin during the conquest of Ghazni. Minhaj al-Siraj Juzjani states that Alp-Tegin had his position regularised by Amir Mansur b. Nuh through an investiture, however Siyasatnama mentions an expedition against Alp-Tegin from Bukhara which was defeated outside Ghazni. His ambiguous, semi-rebel status seems to be reflected in his coins, with two of his coins minted at Parwan mentioning his authority from the Samanids to mint coins only in an indirect way. He was succeeded by his son Abu Ishaq Ibrahim, who lost Ghazni to Abu Ali Lawik, the son of its expelled ruler. He recovered it however with Samanid help in 964–65. Alp-Tegin's ghulams were reconciled with the Samanids in 965 but maintained their autonomy. After Ibrahim's death in 966, Bilge-Tigin was made the successor and he acknowledged the Samanids as his overlords. He died in 364 AH (974–975 AD) while besieging Gardez and was succeeded by Böritigin or Piri. Piri's misrule led to resentment among the people who invited Abu Ali to take back the throne. The Kabul Shahis allied with him and the king, most likely Jayapala, sent his son to assist Lawik in the invasion. According to the Majba al-Ansab, Sabuktigin managed to convince the Muslim Turks living in Ghazni, Gardez and Bamyan to participate in a jihad against the Hindus. When the allied forces reached near Charkh on Logar River, they were attacked by Sabuktigin who killed and captured many of them, while also capturing ten elephants. Lawik as well his ally were both killed in the battle. Piri was expelled and Sabuktigin became governor in 977 AD. The accession was endorsed by the Samanid ruler Nuh II. Hudud al-‘Alam states that Ghor was under the overlordship of Farighunids. Both Gardezi and Baihaqi state that in 379 AH (979–980 AD), the Samanid Amir Nuh b. Mansur dispatched an expedition under Abu Ja'far Zubaidi to conquer Ghur, but he had to return after capturing several forts. As the Samanid governor of Zabulistan and Ghazni, Sabuktigin attacked it several times. He was able to conquer eastern Ghur after initial set-backs and was acknowledged as a sovereign