He invented Gaj-I-illahi system .[2][3][4] Shirazi was given the title of 'Azuddudaulah, translated as "the arm of the empire."[5] Shirazi was one of the students of the philosopher Ghyath al-Din Mansur Dashtaki. Eventually Shirazi left his native home of Safavid Persia to serve at the Mughal court.