What is the paternal linage of Imam Mahdi?

What is the paternal linage of Imam Mahdi?

Imam Mahdi’s lineage, traced back to the prophet Muhammad (through lady Fatima, the daughter of the Prophet) and Imam Ali, the first Imam of Shia, (through this linage: Muhammad b. al-Hassan b. Ali b. Muhammad b. Ali b. Musa b. Ja'far b. Muhammad b. Ali b. al-Husain b. Ali b. Abī Tālib (PBU THEM). Shia believe that Imam Mahdi is the only son of Imam Hasan al-Askari (the 11th Imam) who was born on 15th of Sha'ban 255 A.H/869A.D in Samarra, Iraq. He became the God-appointed Imam when his father was martyred in 260A.H/874A.D.
http://Mahdism.net