 During the rule of Qaitbay he became the edifices mason, and then the Viceroy of Alexandria.He was appointed governor of Syria (Damascus), built a Mosque outside the gate of Rashid (Bab Rashid) as well as a Cenotaph and a Khan.He also renovated the Mosque of El-Sawary outside the gate of Sadrah (Bab Sadrah).