Ioannes II attacked Muhammad ibn Danishmend with the aid of Mas'ud of Ikonion

Summary:
When Ioannes II arrived back near Kastamon, he found Muhammad ibn Danishmend in charge of the defence (or a female defender). Muhammad was on very bad terms with the sultan Mas'ud of Ikonion, so that an opportunity existed for Ioannes. He sent an embassy and succeeded in persuading Mas'ud into an alliance against Muhammad. Mas'ud sent a nobleman with an army, and he and Ioannes attacked Kastamon together. This put Muhammad in an impossible position. He therefore wrote to Mas'ud, successfully pleading the need for Muslim solidarity. Mas'ud withdrew his allied troops during the night, and the course of the campaign changed against the Byzantines 
Dates:
1134 
nobleman from Ikonion (Anonymus 17001)
  • Came with an army from Ikonion to give hostages and to help the emperor Ioannes 2 (:) Kinnamos 14.15-17
Emperor Ioannes II Komnenos (Ioannes 2)
  • He was forced by the loss of Kastamon to return there, where he found Danishmend 101 dead and Muhammad 17001 ruling instead; Muhammad was on bad terms with Masud 17001, giving Ioannes an opportunity (:) Niketas Choniates, Historia 19.9-13
  • He successfully made an alliance with Masud 17001, using allied troops from Ikonion against Muhammad 17001; but Muhammad, realising his position was hopeless, appealed to Muslim solidarity, and persuaded Mas'ud to change sides (:) Niketas Choniates, Historia 19.11-20.19
  • From the night when his allies from Ikonion withdrew, the campaign went badly for him; he decided to winter at the fortress he had built by the Ryndakos, and to attack more fiercely the next year (:) Niketas Choniates, Historia 20.19-24
  • Sent an embassy to Ikonion and persuaded Masud 17001 to make an alliance with him against the Danishmend amir Muhammad 17001 (:) Kinnamos 14.13-15
Mas'ud, sultan of Ikonion (Masud 17001)
  • He was on bad terms with Muhammad 17001, giving Ioannes 2 an opportunity διάφορον Niketas Choniates, Historia 19.10-12
  • He made an alliance with Ioannes 2 to attack Muhammad 17001; the latter, in a hopeless position, wrote to Mas'ud appealing successfully to Muslim solidarity, so that Mas'ud withdrew his allied forces from Ioannes during the night (:) Niketas Choniates, Historia 19.14-20.21
  • Accepted proposals of the emperor Ioannes 2 for an alliance, and sent a noble (Anonymus 17001) to give hostages and help him against the Danishmend amir Muhammad 17001 (:) Kinnamos 14.15-17
  • Was persuaded to solve differences with his relative the Danishmend amir Muhammad 17001 and make an anti-Byzantine alliance (:) Kinnamos 14.20-23
Muhammad ibn Danishmend (Muhammad 17001)
  • He was on bad terms with Masud 17001, giving Ioannes 2 an opportunity Niketas Choniates, Historia 19.10-12
  • He found himself in the impossible position of being attacked by Ioannes 2 and Masud 17001 in alliance; so he wrote to the latter, successfully appealing to Muslim solidarity, so that Ioannes' allies from Ikonion disappeared in the night (:) Niketas Choniates, Historia 19.14-20.21
  • His perceived inability to withstand the emperor Ioannes 2's attack on Gangra made him solve his differences with his relative Masud 17001 of Ikonion and form an anti-Byzantine alliance (:) Kinnamos 14.20-23
  • Succeeded Gumushtegin 101 in rule over Cappadocia; had differences with Masud 17001 (:) Kinnamos 14.11-12