Talha, commonly known by the teknonym Abu Ahmad, was the son of the Caliph Ja'far al-Mutawakkil (r.
On his return to Samarra, Abu Ahmad was initially received with honour by the Caliph, but soon he was thrown into prison as a potential rival, along with another of his brothers, al-Mu'ayyad.