Nizam al-Din Yahya had died in 1480, having lost most of Sistan to the Timurids; his territories were restricted to the mountainous region bordering Baluchistan.
By the autumn of 1510 Sultan Mahmud judged it wise to mount an offensive; crossing the Helmand, his army was able to surprise and defeat the Uzbeks and their local allies.