Answer:
Knowledge
As newcomers brought their knowledge, Fez developed into a religious and cultural center under the Idrissids. Due to the establishment of Marrakesh in the eleventh century, Fez lost its status as a capital during the Almoravid kingdom.