 Alamgir II, Imad-ul-Mulk all wanted to be free from Najib Khan's dominance and asked the Marathas for aid in liberating Delhi from Afghan influence.Ragunathrao agreed and marched on the imperial capital in July 1757.Sakharam Bapu who was present in the Doab region at the time, occupied Patparganj, and Shamsher Bahadur with the artillery division reached Rewari on 27 July 1757.