Ghaznavid–Saffarid war

Ghaznavid conquest of Sistan

Sultan Mahmud and his forces attacking the fortress of Zaranj in 1003 CE. Jami al-Tawarikh, 1314 CE
Date999–1003 AD
Location
Result Ghaznavid victory
Territorial
changes
Sistan annexed by Ghaznavids
Belligerents
Ghaznavids Saffarids
Commanders and leaders
Mahmud of Ghazni
Bughrajuq 
Abu'l Muzaffar Nasr
Altuntash
Muhammad at-Ta'i
Khalaf I (POW)
Tahir X
Strength
10,000 Unknown

In December 999, Mahmud of Ghazni invaded Sistan, ruled by the Saffarids. The last Saffarid ruler, Khalaf ibn Ahmad, carried out campaigns in Ghaznavid territories, capturing Fushanj, Bust, Kuhistan which prompted Ghaznavid Sultan Mahmud to lead campaign against the Saffarids. The campaign marked the end of dynasty in 1002 AD.