Abu Mansur Nasir ad-Din wa'd-Dawla Sabuktigin (Persian: ابومنصور ناصرالدین والدوله سبکتگین; c. 940s – August-September 997) was the founder of the Ghaznavid dynasty, and amir of Ghazna from 977 to 997. Sabuktigin was a Turkic slave who was bought by Alp-Tegin, the commander of the royal guard of the Samanid dynasty. Alp-Tegin established himself as the governor of Ghazna in 962, and died a year later in 963. Afterwards, Sabuktigin built his prestige among other slave soldiers in Ghazna until he was elected by them as their ruler in 977.
Sabuktigin expanded his rule down to south of present-day Afghanistan and north of Balochistan. Through conflicts with the Hindu Shahi dynasty of Kabul, he invaded Indian lands, opening the gates of India for the future monarchs of his dynasty. As a vassal of the Samanid Empire, he answered Nuh II's call to help regarding Abu Ali Simjuri's rebellion, defeating the latter in several battles during 994 to 996. Towards the end of his life, Sabuktigin arranged an agreement with the Kara-Khanid Khanate, Samanids' rivals, to partition Nuh's realm between themselves. However, before he could realize this agreement, he died on his way to Ghazna on August-September 997.