 Al-Mu'tadid encouraged Amr to confront the Samanids, but in the event, Amr was crushingly defeated and taken prisoner in 900.The Samanid ruler, Isma'il ibn Ahmad, sent him in chains to Baghdad, where he was executed in 902, after al-Mu'tadid's death.Al-Mu'tadid in turn conferred Amr's titles to Isma'il ibn Ahmad, but the Saffarid remnant under Tahir proved sufficiently resilient to thwart the caliphal attempts at regaining Fars and Kirman for several more years.