Rabat
Yaqub's death a period of decline at first.  The Almohad empire lost control of its land in Spain and much of its African territory. Eventually this led to its total collapse.  In the 13th century, much of Rabat's economic power shifted to Fez.  In 1515 a Moorish explorer, El Wassan, reported that Rabat had declined so much that only 100 houses remained with people living in them. An increase of Moriscos, who had been removed from Spain, in the early 17th century helped boost Rabat's growth.