7636
In 1337 the Abdalwadid kingdom of Tlemcen was conquered , followed in 1347 by the defeat of the Hafsid empire in Ifriqiya , which made him master of a huge territory , which spanned from southern present-day Morocco to Tripoli .
 person: Abdalwadid; location: Tlemcen; location: Hafsid; location: Ifriqiya; location: Morocco; location: Tripoli
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:
 person: Abdalwadid; location: Tlemcen; location: Hafsid; location: Ifriqiya; location: Morocco; location: Tripoli