He started his career as kapıcıbaşı, that is "chief doorkeeper" of the Topkapi Palace: in this office he acted also as Master of Ceremonies at receptions of foreign ambassadors. Appointed Grand Vizier near the end of the reign of Bayezid II, he was executed in 1512.[3] In Istanbul he let convert into mosques two ancient Byzantine churches, which were both named after him respectively Koca Mustafa Pasha and Atik Mustafa Pasha Mosque.[4][5]