 A siege lasting for probably three years began.Khalaf's forces attempted numerous sorties but were unable to break the siege; the Samanid and Saffarid armies battled each other several times, with neither gaining a decisive victory.The Samanid amir eventually sent a member of the Simjurid family, Abu'l-Hasan Muhammad Simjuri, to break the stalemate.