After the victory of the Abbasids in the east in 750, many members of the Umayyad clan fled to Ifriqiya, at the invitation of Abd al-Rahman ibn Habib. Ilyas ibn Habib married one of the damsels of the Umayyad clan.
