Ilghazi of Mardin

Ilghazi of Mardin (1070-8 November 1122) was the ruler of Mardin under the Artuqids from 1107 to 1122. Ilghazi is perhaps best known for his wars with King Baldwin II of Jerusalem - including his victory at the 1119 Battle of Ager Sanguinis - and the Kingdom of Georgia, the latter of which ended in defeat.

Biography
Ilghazi was born in 1070, the son of Artuq Bey, the Governor of Jerusalem and the forefather of the Artuqids. Ilghazi and his brother Sokmen were appointed co-governors of Jerusalem in 1091 after the death of their father, but they would lose the city to the Fatimids of Egypt in 1098. He would enter the service of Sultan Mahmud I of Great Seljuq in Baghdad, but in 1104 he took over the Artuqids after his brother's death. In 1108, he took Mardn from Sokmen's son Ibrahim of Mardin and confirmed his title as ruler of the Artuqids.

Ruler of the Artuqids
Ilghazi alternated between alliances with the fellow Saracens and the crusaders, besieging Edessa in 1110 and fighting the Seljuk governor of Mosul in 1114. In 1117, he conquered Aleppo, but his army was disorganized, with his drunken behavior depriving his army of leadership and allowing them to pillage and desert. In 1119, King Baldwin II of Jerusalem decided to drive Ilghazi and his rapacious army back, winning the Battle of Hab, but the Battle of Ager Sanguinis resulted in a massacre of the crusaders at Ilghazi's hands. In 1120, Ilghazi took Nisibin and plundered the County of Edessa. In 1121, he led 250,000-350,000 troops to invade the Kingdom of Georgia. On 12 August 1121, he was defeated at the Battle of Didgori by David IV of Georgia's 55,600 troops, and he died in Diyarbakir the next year.