An haifi Ali ibn Yusef a 1084 a Ceuta. Shi dan Yusuf bn Tashfin ne, ya kasan ce kuma shi ne sarki na hudu na Almoravid, kuma kuyangar Kirista. A lokacin da mahaifinsa ya mutu, a cikin Satumba 1106, yana da shekara 23. Ya gaji mahaifinsa ne a ranar 2 ga watan Satumba 1106. Ali ya yi mulki daga Maroko ya nada dan uwansa Tamim ibn Yusuf [ ar ] a matsayin gwamnan Al-Andalus . Ali ya faɗaɗa yankuna a cikin yankin Iberian ta hanyar kame Zaragoza a cikin 1110 amma daga ƙarshe ya sake sake shi ga Alfonso I, Sarkin Aragon, a cikin 1118. Cordoba ya yi tawaye ga Almoravids a cikin 1121. Ya ba da izini ga minbar da a yanzu ake kira Minbar na Masallacin Kutubiyya daga wani taron bita a Córdoba don samar da babban masallacinsa, asalin Masallacin Ben Youssef (wanda aka rusa a ƙarƙashin Almohads ), a cikin babban birnin masarautar, Marrakesh . Almoravid Qubba shima yana dauke da sunan Ali. Bisa ga shawarar Abu Walid Ibn Rushd (kakan Averroes ), Ali ya gina ganuwa kewaye da Marrakesh yayin da Ibn Tumart ya zama mai tasiri.