After taking vengeance on the Ma'mun's murderers Mahmud installed a Turk, the hajib Altun Tash, as governor of the province.
Hazrat Hajib Shakarbar got the area then called Baagar (hard r), referring in particular to the state of Narhar in the Rajasthan province.