 The Byzantines, probably under the command of the Count of the Opsicians, Artabasdos, did not meet them in the field, but instead retreated behind the city's walls.The Arabs assaulted the city for forty days, employing siege engines which destroyed a part of the walls, but eventually failed to take it.In late August, they raised the siege and departed, taking many captives and much booty.