Founding of Marrakesh and internal division It was around this time that Abu Bakr ibn Umar founded the new capital of Marrakesh. Historical sources cite a variety of dates for this event ranging from 1062, given by Ibn Abi Zar and Ibn Khaldun, to 1078 (470 AH), given by Muhammad al-Idrisi. The year 1070, given by Ibn Idhari, is more commonly used by modern historians, although 1062 is still cited by some writers. Shortly after founding the new city, Abu Bakr was compelled to return south to the Sahara in order to suppress a rebellion by the Guddala and their allies which threatened the desert trade routes, in either 1060 or 1071. His wife Zaynab appears to have been unwilling to follow him south and he granted her a divorce. Apparently on Abu Bakr's instructions, she was then married to Yusuf Ibn Tashfin. Before leaving, Abu Bakr appointed Ibn Tashfin as his deputy in charge of the new Almoravid territories in the north. According to Ibn Idhari, Zaynab became his most important political advisor.
Founding of Marrakesh and internal division It was around thi.s time that Abu Bakr ibn Umar founded the new capital of Marrakesh. Historical sources cite a variety of dates for this event ranging from 1062, given by Ibn Abi Zar and Ibn Khaldun, to 1078 (470 AH), given by Muhammad al-Idrisi. The year 1070, given by Ibn Idhari, is more commonly used by modern historians, although 1062 is still cited by some writers. Shortly after founding the new city, Abu Bakr was compelled to return south to the Sahara in order to suppress a rebellion by the Guddala and their allies which threatened the desert trade routes, in either 1060 or 1071. His wife Zaynab appears to have been unwilling to follow him south and he granted her a divorce. Apparently on Abu Bakr's instructions, she was then married to Yusuf Ibn Tashfin. Before leaving, Abu Bakr appointed Ibn Tashfin as his deputy in charge of the new Almoravid territories in the north. According to Ibn Idhari, Zaynab became his most important political advisor.