Though Muhammad Ali's chief aim was to establish a European-style military, and carve out a personal empire, he waged war initially on behalf of the Ottoman Sultan, Mahmud II, in Arabia and Greece, although he later came into open conflict with the Ottoman Empire.
While the campaign was successful, the power of the Saudis was not broken.