Abu Yusuf Ya'qub al-Mansur ( Arabic : ابو يوسف يعقوب المنصور ) (c. 1160 – January 23, 1199), also known as Moulay Yacoub, was the third Almohad Amir Succeeding his father, Abu Ya'qub Yusuf , Yakub al-Mansur reigned from 1184 to 1199 with distinction. During his tenure, trade, architecture, philosophy and the sciences flourished, to say nothing of military conquests. In 1191 Yaqub al-Mansur repelled the occupation of Paderne Castle and the surrounding territory near Albufeira, in the Algarve which had been controlled by the Portuguese army of King Sancho I since 1182. In the Battle of Alarcos , on July 18, 1195, he defeated the Castilian King Alfonso VIII . After victory, he took the title al-Mansur Billah ("Made Victorious by God"). The battle is recounted by the historian Abou Mohammed Salah ben Abd el-Halim of Granada in his Roudh el-Kartas (History of the Rulers of Morocco, French translation by A. Beaumier, 1860) in 1326. He died in Marrakech , Moro...