The army was shortly defeated by the Seljuqs, who forced Mas'ud to cede Nasa, Farava and Dihistan in return for Seljuq recognition of Ghaznavid authority and protection of the region from other Turkic tribes.