 Ayaz was shortly joined by other military officers such as Ali Daya.Muhammad then sent an army under his general Suvendharay to quell the rebellion, but the rebels eventually emerged victorious and killed Suvendharay.The victorious rebels then went to Mas'ud, who was at Nishapur.