 At the same time, the new Umayyad governor of Khurasan, Qutayba ibn Muslim, had captured Paykand, a city near Bukhara.The city soon revolted, and the Arabs responded by sacking the city.The brutality of the sack of Paykand shocked the Sogdian world, and led the nobles of Bukhara under Khunuk to make an alliance with the Wardan Khudah.