Baldwin II (now Baldwin II of Jerusalem) soon arrived to drive Ilghazi back, inflicting heavy losses on the Turks in the hard-fought Battle of Hab on August 14, 1119. The next year Ilghazi took Nisibin, and then pillaged the County of Edessa before turning north towards Armenia. In 1121, he made peace with the crusaders, 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 Georgia. David IV of Georgia met him at the Battle of Didgori and Ilgazi was defeated. According to Matthew of Edessa 400 000 Seljuks were killed. Among the various leaders, only Ilghazi and his son-in-law Dubais escaped.