Muhammad ibn al-Hanafiyyah
After Abu Hashim's death, the Abbasids claimed that on his deathbed Abu Hashim had nominated his distant cousin Muhammad ibn Ali ibn Abdullah ibn Abbas ibn Abdu'l-Muttalib ibn Hashim as the imam. His son Abu'l-Abbas Abdullah as-Saffah became the first Abbasid caliph, repudiating Shi'ism, which effectively extinguished the sect that had recognized Muhammad ibn al-Hanafiyyah as an imam.