 Imad-ul-Mulk replaced Najib's agents in the city with his own men o high posts.Ahmad Khan Bangash was made imperial Paymaster-General.Thus, Delhi was freed from Rohilla and Afghan influence by the wazir and Marathas.