Abū Yūsuf Ya‘qūb al-Manṣūr (Arabic: ابو يوسف يعقوب المنصور) (c. 1160 Morocco – 23 January 1199 Marrakesh, Morocco), also known as Moulay Yacoub, was the third Berber Almohad Caliph. Succeeding his father, al-Mansur reigned from 1184 to 1199. His reign was distinguished by the flourishing of trade, architecture, philosophy and the sciences, as well as by victorious military campaigns in which he was able to temporarily stem the tide of Christian Reconquista in the Iberian Peninsula. It has installed the first Arab masses in Morocco.
Al-Mansur's father was killed in Portugal on 29 July 1184; upon reaching Seville with his father's body on 10 August, he was immediately proclaimed the new caliph. Al-Mansur vowed revenge for his father's death, but fighting with the Almoravids, who had been ousted from the throne, delayed him in Africa. After inflicting a new defeat on the Almoravids, he set off for the Iberian Peninsula to avenge his father's death.
Al-Layth ibn Ali ibn al-Layth (died 928) was amir of the Saffarid amirate from 909 until 910. He was the son of Ali ibn al-Layth and nephew of the first two Saffarid rulers, Ya'qub ibn al-Layth and Amr ibn al-Layth.
In 890 al-Layth and his brother al-Mu'addal helped their father 'Ali escape from imprisonment at the hands of the latter's uncle, the Saffarid amir Amr ibn al-Layth. The three of them fled to Khurasan, where they entered the services of the leading anti-Saffarid in that region, Rafi' b. Harthama. 'Ali died in 893, the brothers continued to serve Rafi'. After Rafi' was defeated and killed in 896 they were captured by 'Amr, who however treated them well.
Following 'Amr's capture by the Samanids in 900, the slave (ghulam) commander Sebük-eri began establishing ties with al-Layth, who had gone into hiding in Sistan. As the son of 'Ali, who had originally been designated as the successor to Ya'qub ibn al-Layth al-Saffar, he was a possible contender for the amirate, and gained supporters in the army. Despite this, he at first remained loyal to 'Amr's successor, Tahir b. Muhammad. He participated in the abortive 900-901 campaign to recover Fars from the Abbasid Caliphate and another and more successful campaign that took place in around 904.