薩曼王朝
In 994 Mahmud joined his father Sabuktigin in the capture of Khorasan from the rebel Fa'iq in aid of the Samanid Emir, Nuh II. During this period, the Samanid Empire became highly unstable, with shifting internal political tides as various factions vied for control, the chief among them being Abu'l-Qasim Simjuri, Fa'iq, AbuAli, the General Bekhtuzin as well as the neighbouring Buyid dynasty and Kara-Khanid Khanate.