In 989, Bagrat planned to inflict a final blow to the powerful noble Rati of Kldekari who held a large fiefdom in Trialeti. Gurgen, together with his army, was waiting for his son at the boundary of Shavsheti, when David of Tao, being misinformed that his kinsmen intended to ambush his possessions, dispersed Gurgen’s troops in a sudden attack, forcing him to flee to the fortress of Tsep’ti.
In 989, Bagrat planned to attack Rati of Kldekari, a powerful noble who controlled a large territory in Trialeti.  Gurgen and his army were waiting at the border of Shavsheti for their son when David of Tao, believing that Gurgen's forces intended to ambush him, attacked them unexpectedly, forcing Gurgen to flee to the fortress of Tsep’ti.