6713
From 945 onward until the sacking of Baghdad by the Mongols in 1258 , the Caliph continued on as a figurehead , with power devolving more to local amirs .
 location: Baghdad
Please list all entity words in the text that fit the category.Output format is "type1: word1; type2: word2". 
Option: location, person, organization 
Text: {0} 
Answer:
 location: Baghdad