Boutros Ghali
Fahmy was appointed prime minister on 12 May 1891, replacing Riaz Pasha in the post. Fahmy remained in office for nearly two years and was sacked by Abbas II on 15 January 1893. The King dismissed him due to his over reliance on the British agency. Hussein Fahri Pasha replaced Fahmy Pasha as prime minister. Fahmy's second appointment as prime minister was on 12 November 1895, replacing Nubar Pasha in the post. Fahmy Pasha's second term lasted until 12 November 1908, and Boutros Ghali replaced him as prime minister.