The sultan credited his rival for inspiring nizami army reform. [fact]
When Mahmud succeeded decisively in getting rid of the power of the Janissaries in June of 1826 he summoned Mehmed Najib Efendi, Mehmed Ali's agent, and asked him to write to the Pasha in Cairo requesting his help in founding a new nizami army. He explained that it was due to Mehmed Ali, after all, "that we saw the importance of training the troops along modern lines." Nagib Efendi wrote to the Pasha asking him to dispatch instructors who had been drilled in his army to train the imperial army. Although the Sultan gave Mehmed Ali the credit for initiating such important reforms, the Pasha refused to help his Sultan giving such excuses as the fact that the officers in his army were better paid than Ottoman officers and that this might cause friction and envy between them.
Khaled Fahmy, All the Pasha_s Men_ Mehmed…, loc. 223