 However, poor roads and difficult landscape were setback for the Georgians, and the Atabeg defended the city for a while.Nevertheless, David Soslan's maneuver proved to be decisive and Abu Bakr's army was severely defeated.Shamkor was eventually captured by the Georgians who then chased the enemy's soldiers up to the city of Ganja which in its turn fell to the victors.