During this period of anarchy Muhammad Ali used his loyal Albanian troops to work with both sides , gaining power and prestige for himself .
During this period of anarchy Muhammad Ali used his loyal Albanian troops to play both sides , gaining power and prestige for himself .