وجاء ابن عمه فسلم إليه وبويع بالخلافة وتسمى بالمهدي، وولى أخاه عهده وسماه السامعي واعتقل ابن عمه إدريس العالي في الحصن الذي كان [هو] معتقلا فيه وظهرت من محمد بن إدريس هذا رجلة وجرأة شديدة هابه بها جميع البربر وأشفقوا منه وأرسلوا المرتب في الحصن الذي كان في إدريس بن يحيى واستمالوه فأجابهم وقام بدعوته وكان إدريس بن يحيى هذا أول
His cousin came, and he surrendered to him; allegiance was pledged to him as caliph and he took the title al-Mahdi. He made his brother his heir and named him al-Samiʿi [?], and imprisoned his cousin Idris al-ʿAli in the fort in which [he] had been imprisoned. This Muhammad ibn Idris showed manliness and great boldness, for which all the Berbers feared him and were apprehensive of him. They sent to the man stationed in the fort in which [?] Idris ibn Yahya was, and won him over; he answered them and rose in his cause. This Idris ibn Yahya had, at the beginning
ولايته بعد قتل نجا قد ولي سبتة وطنجة رجلي نبرغواطيين من عبيد أبيه يسميان رزق الله وسكات، فلما خلعا كما ذكرنا [بقيا حافظين لمكانهما فلما قاما كما ذكرنا] في حصن أيرش لم يظهر محمد إدريس مبالاة بذلك بل ثبت ثباتا شديدا وكانت والدته تشجعه وتقوي منته وتشرف على الحرب بنفسها وتحسن إلى من أبلى، فلما رأى البربر شدة عزمه وثباته فت ذلك في أعضادهم وانخلوا عن إدريس بن يحيى، ورأوا أن يبعثوا به إلى سبتة وطنجة إلى البرغواطيين اللذين ذكرنا.
of his rule after the killing of Naja, appointed over Sabta and Tanja two Barghawati men of his father's slaves, named Rizq Allah and Sakkat. When they [?] were deposed, as we mentioned, [they remained guarding their position; and when they rose, as we mentioned,] in the fort of Ayrush, Muhammad Idris [?] showed no concern at that, but stood very firm; his mother encouraged him, strengthened his resolve, oversaw the fighting herself and rewarded those who fought well. When the Berbers saw the strength of his resolve and his firmness, it broke their strength, and they abandoned Idris ibn Yahya, and decided to send him to Sabta and Tanja, to the two Barghawatis we mentioned.