According to Ibn Khaldūn in his appendix IV, Sīd Sūlāymān Ibn ‘Abd Allah al-Kāmīl escapes towards the Maghreb during the Abbasids, he arrives at Tiaret after the death of his brother Idris I and he wanted to take power.