The Georgian–Seljuk wars (Georgian: საქართველო-სელჩუკთა ომები, romanized: sakartvelo-selchuk'ta omebi), also known as Georgian Crusade, is a long series of battles and military clashes that took place from 1064 until 1213, between the Kingdom of Georgia and the different Seljukid states that occupied most of South Caucasus. The conflict is preceded by deadly raids in the Caucasus by the Turks in the 11th century, known in Georgian historiography as the Great Turkish Invasion.
In 1048–9, the Seljuk Turks under Ibrahim Yinal made their first incursion in Byzantine frontier region of Iberia. The emperor Constantine IX requested help from the Georgian duke Liparit IV of Kldekari, whom the Byzantines had aided in his struggle against the Georgian king Bagrat IV. Liparit, who had been fighting on the Byzantine side, was captured at the Battle of Kapetron. Bagrat took advantage of this, and acquired his possessions.
Although the Byzantine Empire and Georgia had centuries-long cultural and religious ties, and the Seljuqs posed a substantial threat to the empire itself, Constantinople's aggressiveness on the Caucasian political scene contributed to an atmosphere of distrust and recrimination, and prevented the two Christian nations from effective cooperation against the common threat. With assertion of the Georgian Bagratid hegemony in the Caucasus being the cornerstone of Bagrat's reign, his policy can be understood as the attempt to play the Seljuqs and Byzantines off against one another.
The second half of the 11th century was marked by the strategically significant invasion of the Seljuq Turks, who by the end of the 1040s had succeeded in building a vast empire including most of Central Asia and Persia. These intruders were part of the same wave of the Turkish movement which inflicted a crushing defeat on the Byzantine army at Manzikert in 1071.
The Seljuks first appeared in Georgia in 1064, when Sultan Alp Arslan led an army from Ray to Nakhchivan and captured some castles garrisoned by Byzantine troops. He then handed over the command to his son Malik-Shah and Nizam al-Mulk, they marched westward and captured the Armenian fortified city of Marmashen. Then the Seljuks marched north and captured the Georgian fortified city of Akhalkalaki, which they set on fire. Faced with the growing threat from the east, Georgia and Byzantine overcame their decades-old enmity and entered a matrimonial alliance.
In 1068, Alp Arslan accompanied by his vassals, Aghsartan I of Kakheti and king of Lori as well as the emir of Tbilisi marched against Bagrat again, who had to vacate Kakheti and retreat to Kartli. The provinces of Kartli and Argveti were occupied and pillaged. The retreated king was saved when severe snowfalls set in and Alp Arslan left Kartli. As the Sultan passed Tbilisi, he gave the small emirate to Fadl ibn Shavur. Fadl encamped at Isani and with 33,000 men ravaged the countryside. As soon as Alp Arslan left Georgia, Bagrat quickly recovered Kartli and crushed emir fadl who was managed to flee with a few followers only to fall into the hands of Aghsartan. At the price of conceding several fortresses on the Iori River, Bagrat ransomed Fadl and received from him the surrender of Tbilisi where he reinstated a local emir on the terms of vassalage.
The Seljuk threat prompted the Georgian and Byzantine governments to seek a closer cooperation. To secure the alliance, Bagrat's daughter Maria married, at some point between 1066 and 1071, to the Byzantine co-emperor Michael VII Ducas. The choice of a Georgian princess was unprecedented, and it was seen in Georgia as a diplomatic success on Bagrat's side.
Although the Georgians were able to recover from Alp Arslan's invasion, the Byzantine withdrawal from Anatolia brought them in more direct contact with the Seljuqs. In the 1070s, Georgia was twice attacked by the Sultan Malik Shah I, but the Georgian King George II was still able to fight back at times. In 1076 Malik Shah surged into Georgia and reduced many settlements to ruins, from 1079/80 onward, George was pressured into submitting to Malik-Shah to ensure a precious degree of peace at the price of an annual tribute. George's acceptance of the Seljuq suzerainty did not bring a real peace for Georgia. The Turks continued their seasonal movement into the Georgian territory to make use of the rich herbage of the Kura valley and the Seljuq garrisons occupied the key fortresses in Georgia's south. These inroads and settlements had a ruinous effect on Georgia's economic and political order. Cultivated lands were turned into pastures for the nomads and peasant farmers were compelled to seek safety in the mountains.
George II was able to garner the Seljuk military support in his campaign aimed at bringing the eastern Georgian kingdom of Kakheti, which had long resisted the Bagratid attempts of annexation. However, tired with a protracted siege of the Kakhetian stronghold of Vezhini, George abandoned the campaign when snow fell. The Seljuk auxiliaries also lifted the siege and plundered the fertile Iori Valley in Kakheti. Aghsartan I, king of Kakheti, went to the sultan to declare his submission, and in token of loyalty embraced Islam, thus winning a Seljuk protection against the aspirations of the Georgian crown.
George II's wavering character and incompetent political decisions coupled with the Seljuk yoke brought the Kingdom of Georgia into a profound crisis which climaxed in the aftermath of a disastrous earthquake that struck Georgia in 1088.
In 1110 the Georgians led by George Chqondideli, his nephew Theodore, Abuleti and Ivane Orbelian, retaliated against the Seljuk settlement and recaptured the town of Samshvilde, which was added to the royal domains, without a major battle. Following this capture, the Seljuks left a large part of their captured territories, allowing Georgian troops to capture Dzerna.
Responding to this double defeat, Sultan Muhammad I Tapar in 1110, sent a large army with the aim of invading Georgia. Knowing of the approach of Turkish troops, David IV left his home at Nacharmagevi with a personal guard of only 1,500 men and set out to meet the invaders during the night. The two armies, clearly unequal, clashed the next day at the Battle of Trialeti in a hard fight which ended in a decisive victory for Georgia.
The Battle of Trialeti deprived the Seljuk Empire of the opportunity to conduct a major military campaign against Georgia. In 1110–1114, David IV did not conduct active military operations either. In 1115, Roger of Salerno defeated the Atabag of Mosul at the Battle of Sarmin. After that, David became active again and in 1115-1118 he captured Rustavi,Lori, and Agarani and also defeated the Seljuks at the Battle of Rakhsi.
Problems began to crop up for David now. His population, having been at war for the better part of twenty years, needed to be allowed to become productive again. Also, his nobles were still making problems for him, along with the city of Tbilisi which still could not be liberated from Seljuk grasp. Again David was forced to solve these problems before he could continue the reclamation of his nation and people. For this purpose, David IV radically reformed his military. He resettled a Kipchak tribe of 40,000 families from the Northern Caucasus in Georgia in 1118–1120. Every Georgian and Kipchak family was obliged to provide one soldier with a horse and weapons. Kipchaks were settled in different regions of Georgia. Some were settled in Inner Kartli province, others were given lands along the border. They were Christianized and quickly assimilated into Georgian society.
In February 1116 by the order of David IV, the army of Kartli and Meskhetians were gathered at Klarjeti, David IV suddenly attacked and destroyed the Turks in Tao and captured Tao-Klarjeti and the numerous riches left by the Turks. In February 1120, David IV defeated the Seljuks at the Battle of Botora. In the battle the Georgians captured many opponents and gained a lot of booty.