Georgia, a Christian kingdom in the Caucasus, was subjected, between 1386 and 1403, to several disastrous invasions by the armies of Turco-Mongol conqueror Timur, whose vast empire stretched, at its greatest extent, from Central Asia into Anatolia. These conflicts were intimately linked with the wars between Timur (Tamerlane) and Tokhtamysh, the last khan of the Golden Horde and Timur’s major rival for control over the Islamic world. Timur officially proclaimed his invasions to be jihad against the region's non-Muslims. Although he was able to invade parts of Georgia, he was never able to make the country Muslim and even recognized Georgia to be a Christian state.
In the first of eight invasions, Timur sacked Georgia's capital, Tbilisi, and captured the king Bagrat V in 1386. Georgian resistance prompted a renewed attack by the Turco-Mongol armies. Bagrat’s son and successor, George VII, put up a stiff resistance and had to spend much of his reign (1395–1405) fighting the Timurid invasions. Timur personally led most of these raids to subdue the recalcitrant Georgian monarch. Although he was not able to establish a firm control over Georgia, the country suffered a blow from which it never recovered. By the time George VII was forced to accept Timur's terms of peace and agree to pay tribute, he was a master of little more than gutted towns, ravaged countryside and a shattered monarchy.
Timur's first appearance in the Caucasus was a response to Khan Tokhtamysh’s marauding inroad into Northern Iran through the Caucasian lands in 1385. This marked an outbreak of outright hostility between the two Islamic monarchs. Timur responded by launching a full-scale invasion of the small frontier countries, which lay between the western border of his emerging empire and Tokhtamysh’s khanate. After having overrun Azerbaijan and Kars, Timur marched into Georgia. The official history of his reign, Zafarnama, represents this campaign in Georgia as a jihad. Timur set out from Kars and assailed Samtskhe, the southernmost principality within the Kingdom of Georgia later in 1386. From there, he marched against Tbilisi which the Georgian king Bagrat V had fortified. The city fell on November 21, 1386, and King Bagrat V was captured and converted to Islam at sword point. The Georgian Chronicle and Thomas of Metsoph mention the apostasy of the king but represent it as a clever ruse which enabled him to earn a degree of trust of Timur. Bagrat was given some 12,000 troops to reestablish himself in Georgia whose government was run by Bagrat’s son and co-ruler George VII during his father’s absence at Timur’s court. The old king, however, entered in secret negotiations with George who ambushed Bagrat’s Islamic escort, and freed his father.