After pillaging the County of Edessa, Seljukid commander Ilghazi made peace with the Crusaders. In 1121 he went north towards Georgia and with supposedly up to 250 000 – 350 000 troops, including men led by his son-in-law Sadaqah and Sultan Malik of Ganja, he invaded the Kingdom of Georgia. David IV of Georgia gathered 40,000 Georgian warriors, including 5,000 monaspa guards, 15,000 Kipchaks, 300 Alans and 100 French Crusaders to fight against Ilghazi's vast army. At the Battle of Didgori on August 12, 1121, the Seljuks were routed, being run down by pursuing Georgian cavalry for several days afterward. The battle helped the Crusader states, which had been under pressure from Ilghazi's armies. The weakening of the main enemy of the Latin principalities also benefitted the Kingdom of Jerusalem under King Baldwin II.