The title was first used by Muhammad Ali Pasha, an Albanian officer who seized power in Egypt as "Wali" (Governor). He ruled under the nominal overlordship of the Turks. His family was not recognized by the Sultan until the reign of his grandson Ismail Pasha. The last Khedive of Egypt was Abbas II. The dynasty of Muhammed Ali continued to rule Egypt, though under British 'guidance'. This ended with the Egyptian revolution of 1952. The last member of the family who ruled was King Farouk I.