Nizam al-Mulk
However, Hassan did not initially travel to Cairo. Some historians have postulated that Hassan, following his conversion, was playing host to some members of the Fatimid caliphate, and this was leaked to the anti-Fatimid and anti-Shī‘a vizier Nizam al-Mulk. This prompted his abandoning Rayy and heading to Cairo in 1076.