215406
He was appointed as the chief of the treasury by caliph al-Muqtafi , and in 1149 , he was appointed as the vizier ( chief minister ) of the Caliphate , a post he kept for sixteen years until his death on 27 March 1165 , commonly attributed to poisoning through his physician , who was in the pay of his rivals .
 person: al-Muqtafi; location: Caliphate
Given options, please tell me the categories of all the listed entity words.Output format is "type1: word1; type2: word2". 
Option: location, person, organization 
Text: {0} 
 Entities: al-Muqtafi, Caliphate 
Answer:
 person: al-Muqtafi; location: Caliphate