As part of these Arab raids, an invasion under a certain Maimun al-Gurgunami ("Maimun the
Mardaite") took place, which raided
Cilicia and was defeated by a Byzantine army under a general named Marianus near
Tyana. The dating of this expedition is unclear; although the primary account, by
al-Baladhuri, places it under Abd al-Malik (who died in 705), it is commonly dated to 706 by modern scholars. According to Baladhuri, this Maimun had been a slave of Caliph
Muawiyah's sister, who had fled to the Mardaites, a group of Christian rebels in northern
Syria. After the Mardaites had been subdued, the general
Maslama ibn Abd al-Malik, who had heard of his valour, liberated him and entrusted him with a military command, and later swore to avenge his death. As a result, Maslama launched another attack aimed at Tyana, with his nephew
al-Abbas ibn al-Walid as co-commander. The chronology of the expedition is again unclear: the Byzantine chronicler
Theophanes the Confessor puts it in
A.M. 6201 (708/709 AD, and possibly even 709/710), but Arab sources date it to
A.H. 88 and 89 (706/707 AD and 707/708 AD respectively). As a result, the siege has been variously dated to 707–708 AD and 708–709 AD. The Arabs besieged the city, employing siege engines to bombard its fortifications. They managed to destroy part of the wall, but were unable to enter the city. Despite launching several assaults, the defenders successfully drove them back. The siege continued into winter, and the Arabs began to suffer greatly from shortage of food, so that they began contemplating abandoning the siege altogether. In the spring, however, Justinian II, who had been restored to the Byzantine throne in 705, assembled a relief army under the generals Theodore Karteroukas and Theophylact Salibas and sent it towards Tyana. The Byzantine chroniclers record that the regular troops were complemented by armed peasants, numerous but lacking in any military experience. Modern historians consider this an indication of the dire situation of the regular
Byzantine army, partly as a result of Justinian's purge of the officer corps after his restoration, and partly due to the
losses suffered in the war with the
Bulgars. As the relief army approached Tyana, it was confronted by the Arabs, and in the ensuing battle, the Byzantines were routed. According to Theophanes, the two Byzantine generals quarrelled among themselves, and their attack was disorderly. The Byzantines lost many thousand dead, and the captives also numbered in the thousands. The Arabs captured the Byzantine camp and took all the provisions they had brought along for the beleaguered city, allowing them to continue the siege. The inhabitants of Tyana now despaired of any succour, and as their own supplies dwindled they began negotiations for a surrender. The Arabs promised to allow them to depart unharmed, and the city capitulated after a siege of nine months (in March according to
Michael the Syrian, in May–June according to
al-Tabari). Theophanes reports that the Arabs broke their promise and enslaved the entire population, which was deported to the Caliphate, but no other source confirms this. After looting the town, the Arabs razed it to the ground. ==Aftermath==