Yusuf ibn Tashfin
In 1071, al-Mu'tamid took control of Cordoba. This was a weak period of control as he had to re-assert control in 1078 and then lost it permanently in 1081. During this period his vizier Ibn Ammar captured Murcia. This period marked the beginning of the end for the Abbadid dynasty, as the following years saw them growing weaker and weaker due to a number of events: first, was the start of hostilities with Alfonso VI, followed by the Christians succeeding in Aragon, Valencia, and Toledo, finally domestic Muslims created issues at home. When Alfonso VI, from Castile, took Toledo in 1085, Al-Mu'tamid called in Yusuf ibn Tashfin, the Berber Almoravid ruler. He had foreseen probability that Almoravids may overthrow him, nevertheless he choose to ally with them. When his son, Rashid, advised him not to call on Yusuf ibn Tashfin, Al-Mu'tamid rebuffed him and famously said,