Ja'far ibn Muhammad al-Hasani

[1] His sister was married to Akhu Muslim, a distinguished Alid sharif who rose in unsuccessful revolt against the Fatimid conquest of Egypt.

Although the date Ja'far conquered Mecca is not known, Ibn Hazm writes that it was during the reign of the Ikhshidids in Egypt.

Al-Fasi narrows it down to the years 356–358 AH (967–969), since Ikhshidid influence in the Hejaz waned after the death of Abu al-Misk Kafur.

[6] Ja'far founded a long line of Hasanid Sharifs of Mecca, which lasted until their overthrow by the Saudis in 1924.

[1] Ja'afar's line, the Ja'farid dynasty, ended with Shukr ibn Abi al-Futuh in 1061.