Sublime Porte had proved itself incapable of defeating Muhammad Ali Pasha, the British Empire and Austrian Empire provided military assistance, and the second Egyptian–Ottoman War (1839–1841) ended with Ottoman victory and the restoration of Ottoman suzerainty over Egypt Eyalet and the Levant.