This present article examines Mirza Makhdum Sharifi Shirazi’s (1540-87) life and career in the Ottoman Empire. Mirza Makhdum was a high-ranking Twelver Shiite bureaucrat in Safavid Iran, but after taking refuge with the Ottomans, he converted to Sunnism and started a new career as a judge in Diyarbakir, Bilad al-Sham, Baghdad, and the holy cities of the Hijaz.