 The Almohad empire lost control of its possessions in Spain and much of its African territory, eventually leading 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 inhabited houses remained.