Zabita Khan then solicited the aid of Shuja-ud-daula, Nawab Wazir of Oudh; but the Nawab declined to interfere unless Hafiz Rahmat Khan applied on his behalf. Negotiations were commenced with Shah Alam and the Marathas for the restoration of Zabita Khan's family and the evacuation of Rohilkhand. The Marathas agreed to accept 40 lakhs of rupees, provided that Shuja-ud-daula made himself responsible for the payment; but Shuja-ud-daula now declined to enter into any such engagement unless Hafiz Rahmat Khan gave him a bond for the money. To this Hafiz Rahmat Khan consented, the bond was signed and the Marathas retired from Rohilkhand. In 1773, the Marathas proposed to attack Shuja-ud-daula and attempted to gain the help of Hifaz Rahmat Khan. The latter refused to him them. Instead he sent information to Shuja-ud-daula concerning what he had done, and on the strength of this requested restoration of his bond. Shuja-ud-daula expressed his approval of Hafiz Rahmat Khan's conduct and promised the restitution of the bond when the Marathas as had been defeated. The Marathas were defeated soon after at Asadpur by the combined forces of Shuja-ud-daula and Hafiz Rahmat Khan, with the result that they quit not only Rohilkhand but Delhi also.