The sources provide different dates for the year in which Ja'far captured Mecca: the years 967, 968, 969, and the entire period 951–961 are mentioned.[3] 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'l-Futuh in 1061.[4] Medina, on the other hand, was frequently controlled by the Husaynids.[1][3]