In 1040, Abu'l-Aswar Shavur ibn Fadl, ruler of the Shaddadids, marched from Dvin with an army reportedly 150,000 strong, according to the 12th-century chronicler Matthew of Edessa.[2] His objective was the strategic province of Tashir, a key frontier zone contested between Armenian and Muslim forces.
In response, King David I Anhoghin of Lorheti organized a defensive coalition comprising the following:
- 10,000–20,000 of his own Armenian troops
- 3,000 reinforcements from the Kingdom of Ani
- 2,000 troops from Kapan (Syunik)
- 4,000 Georgian auxiliaries under the command of King Bagrat IV
The armies met near the fortress of Gagi, a key fortified point in Tashir.
According to Matthew of Edessa, the battle began with a surprise assault by the troops of Kapan, led by Christian bishops, which inflicted significant casualties on the Shaddadid army. Following this, the combined Georgian-Armenian army, led by David I Anhoghin, Bagrat IV, and Hovhannes-Smbat III of Ani, attacked from multiple directions. The Shaddadid forces, unaware of the full strength of the allied army, panicked and were decisively routed.
Matthew of Edessa further recounts that the victors pursued the fleeing enemy for five days, executing a relentless chase that resulted in the slaughter of large portions of the Shaddadid army:
"The pursuit was so severe that plains and mountains were covered in blood."[2]
While the numbers and vivid details in Matthew’s account may be exaggerated, modern historians agree that the numerically inferior Armenian–Georgian alliance successfully exploited local terrain and coordinated maneuvers to decisively defeat Abu'l-Aswar’s forces.[3]