Al-Hadi, born on April 26, 764, was the 4th Abbasid caliph. The eldest son of al-Mahdi and al-Khayzuran, he was named heir at 16 and given military responsibilities. In campaigns in Tabaristan, Abbasid forces secured the surrender of the local ruler Wandad Hurmuzd. Al-Hadi delayed his return to Baghdad amid rumors that the succession might pass to his brother Harun, but became caliph after his father’s death in 785.
He ruled from 785 until his death on September 14, 786. His brother Harun al-Rashid was initially his crown prince, but al-Hadi sought to replace him with his own young son, Ja'far. The dispute contributed to a break between the brothers. Al-Hadi also came into conflict with his mother, who had wielded political influence under al-Mahdi. He first tolerated her involvement in government, then moved to curtail it and warned officials against seeking her intercession.
Al-Hadi suppressed a Kharijite revolt, repelled a Byzantine incursion, and pursued policies against the Alids and Shi'a. In 786, an Alid uprising led by al-Husayn ibn Ali was defeated at the Battle of Fakhkh; al-Hadi later ordered the arrest of Musa ibn Ja'far and intended to have him executed, but died before carrying out the sentence. His short reign ended amid political rivalries and unrest.