We find him at different periods in Seville, Cordova and Morocco, probably as physician to Yusef al-Mansur, who took pleasure in engaging him in discussions on the theories of philosophy and their bearings on the faith of Islam.
In August he defeated another force sent to Abba Island to arrest him, but thereafter deemed it prudent to retire to Jebel Gedir, in the Nuba country south of Kordofan, where he was soon at the head of a powerful force; and 6000 Egyptian troops under Yusef Pasha, advancing from Fashoda, were nearly annihilated in June 1882.
The city was founded in 1062 by Yusef bin Tashfin.
Their religious teachers detested the native Mahommedan princes for their religious indifference, and gave Yusef a fetwa - or legal opinion - to the effect that he had good moral and religious right to dethrone the heterodox rulers who did not scruple to seek help from the Christians whose bad habits they had adopted.
In 1080 the Almoravide sovereign Yusef ibn Tashfin, after besieging and sacking Agadir, built a new town on the site of his camp. The new town, called Tagrart, became the commercial quarter, whilst Agadir remained the royal residence.
The Amir Abu Yakub Yusef besieged Tlemcen in the early years of the 14th century.
In defiance of an army which marched to the relief of the beleaguered city under Yusef the Almoravide, the Cid took Valencia after a siege of nine months, on the 15th of June 10 94 - the richest prize which up to that time had been recovered from the Moors.
He endeavoured to curry favour with Yusef by betraying the other Mahommedan princes to him, and intrigued to secure the alliance of Alphonso against the Almoravide.
On the 7th of June 1882, 6000 men under Yusef Pasha, advancing from Fashoda, were nearly annihilated by the mahdists.