The Mughal Empire's province Gujarat (now in India) was managed by the viceroys appointed by the emperors. The emperor Farrukhsiyar was deposed by influential Sayad brothers in 1719. He was succeeded by the short reigns of Rafi ud-Darajat and Shah Jahan II. Finally Muhammad Shah was raised to the throne by them. To make peace with powerful vassal, he appointed Ajítsingh of Márwár as a viceroy. The Maratha incursions continued and Píláji Gáikwár established himself at Songad near southern border of Gujarat. Ajit Singh had appointed Anopsingh Bhandari as his deputy. For helping to depose the influential Sayad brothers, Haidar Kúli Khán was appointed the next viceroy. People discontent with Anopsingh rejoiced his appointment but he tried to make himself free so he was recalled. Nizám-ul-Mulk