 We are better informed about his friends Abu Ja‛far Yusuf ibn  Hasday[3]  and Abu l-Hasan ‛Ali ibn ‛Abd al-‛Aziz Ibn al-Imam  al-Ansari.[4]  Ibn al-Imam was from Saragossa too and was vizier of Abu Tahir Tamim Ibn Yusuf Ibn Tashfin al-Mu‛izz, (1072–1126) the eldest son of Yusuf Ibn Tashfin, brother of the ruling Sultan and governor of Granada and later of the whole al-Andalus. Tamim was a hero, being the winner in the battle of Uclés in 1108.