Ali ibn Ismail
Ali ibn Ismail (Arabic: علی ابن اسماعیل) was born in Medina Saudi Arabia in 135 AH and was the second son of Isma'il ibn Jafar and grand son of Jafar al Sadiq. Isma'ilism followed his father Isma'il ibn Jafar as 6th Imam. Ali Ibn Ismail followed Musa al-Kadhim as 7th Imam. He left Baghdad and obeyed Musa ibn Jafar as he ordered him to migrate to Iran. علی ابن اسماعیل | birth_place = 135 A.H. {{!}} 752 C.E. Madina Saudi Arabia | death_date = 242 A.H. {{!}} 856 C.E ~ | death_place = Mashhad Iran | death_cause = Martyred by Abbasid | children = Muhammad, Ismail, Syed Faateh, Ahmed, Shakir | parents = Isma'il ibn Jafar | relatives = Muhammad ibn Isma'il (brother) }}
Shia View
Shia's claim that he showed dishonesty with Musa al-Kadhim But the source is unknown and not acceptable by other schools of thoughts in Islam even most Shia's refused the statement of this blame.
In fact it is a blame on Ali ibn Ismail and some researchers and scholars said that it is due to Isma'ilism as they followed Isma'il ibn Jafar instead of Musa ibn Jafar.
Abbasid Time
During time period of Abbasid caliph Harun al-Rashid he was in Kufah with his brother Muhammad ibn Isma'il. After the death of Muhammad he returned to his uncle Musa al-Kadhim. He ordered him to leave Baghdad and migrate to Iran. He played an active role against the Abbasid Caliphate of the time to save and assist Musa ibn Jafar. He raised voice against [...] of Ali al-Ridha in Mashhad who was poisoned by Al-Ma'mun. Ma'mun sent his forces towards him but he saved himself and migrated to Bukhara. His descendants are Twelver and some of them are also following Sunni Islam.
Death
He was martyred by Abbasid forces by Al-Mutawakkil in 242 AD at Mashhad Iran.