He served as vizier and physician under the Ilkhanate emperors Ghazan and Öljaitü before falling to court intrigues during the reign of Abu Sa'id Bahadur Khan, whose ministers had him killed at the age of seventy.