When David became king in 1089, Tbilisi had been a Muslim city for four hundred years, Turkish nomads grazed their herds on the ruins of Georgian villages, and his own father had just abdicated in despair. David was sixteen. He would never lose a battle.

A kingdom in pieces

The 1080s were the low point. Seljuk Turks, fresh from crushing the Byzantine army at Manzikert, had poured into the Caucasus. Georgian chronicles call the period didi turkoba (დიდი თურქობა), “the great Turkish invasion”. Towns were burned, the countryside turned into pasture, and King Giorgi II paid tribute to the Seljuk sultan to be left alone. In 1089 he handed the crown to his son.

David IV (დავით IV), later called Aghmashenebeli (აღმაშენებელი), “the Builder”, began by rebuilding authority at home. He stopped paying tribute. He broke the power of the great nobles who had been running their provinces as private kingdoms, and he brought the church to heel at the council of Ruisi-Urbnisi in 1103, dismissing corrupt bishops and putting his own men in their place. He created a new office, the mtsignobartukhutsesi, a kind of chancellor who was also a bishop, so that church and state answered to one man: himself.

Then he turned on the Turks. Year after year he raided their camps, until, as the History of Georgia puts it, by 1104 the country “had effectively been freed from the yoke of the invaders”. In about 1118 he settled some 40,000 Kipchak families from the northern steppe inside Georgia, giving him a standing army of mounted archers that no neighbour could match.

Didgori

By 1121 the Muslim rulers of the region had had enough. David was squeezing Tbilisi, still ruled by its own Muslim council, and had cut off its trade. The city’s leaders, the History of Georgia records, appealed to Ilghazi, the Artuqid ruler of Mardin, who had just defeated the Crusaders in Syria. Ilghazi assembled a coalition from across the Muslim world and marched north. Contemporary writers gave fantastic figures for his army; the Georgian historians dismiss them as exaggerated, but it was certainly far larger than David’s.

David chose his ground. The enemy was allowed to enter the narrow valleys of Trialeti and Manglisi, west of Tbilisi, where, as a Georgian chronicler wrote, “they could not even stand on their feet” for lack of space. On the morning of 12 August 1121, on the slopes of Didgori (დიდგორი), David attacked. He led the main force himself; his son Demetre took a second column over the mountain and struck the enemy camp from above. A small detachment of Western knights, Crusade-era Europeans who had found their way to Georgia, rode with him.

The Armenian historian Matthew of Edessa, who was no friend of the Georgians, described the result in a few words: the coalition army broke and ran, and the Georgians pursued it for days. The Georgian chronicles call Didgori dzlevai sakvirveli (ძლევაჲ საკვირველი), “the wonderful victory”. It is the most celebrated battle in Georgian history.

Tbilisi, after 400 years

The next year, 1122, David took Tbilisi. The chronicle notes that the city had been in Muslim hands for “four hundred years”, since the Arab conquest in the 730s. The History of Georgia describes something unusual in what happened next. Instead of expelling the city’s Muslims, David guaranteed their rights, taxed them more lightly than Christians, forbade pigs in their quarter and visited the mosque himself. Arab writers of the following century recorded these privileges with surprise. Historians call it the tolerance of a confident ruler; it was also good policy for a king who wanted Tbilisi’s merchants on his side.

In 1123 David’s armies moved into Shirvan and in 1124 he took the great Armenian city of Ani at the request of its own citizens. By his death the kingdom reached from the Black Sea to the Caspian.

The Builder

The nickname was earned. David founded Gelati (გელათი) near Kutaisi in 1106, a monastery the chronicle calls “surpassing all previous works”, and attached to it an academy that drew Georgian scholars home from Constantinople and Mount Athos. He built roads, bridges and caravanserais, reformed the coinage, and was himself a scholar who wrote hymns of penitence that are still read.

He died in Tbilisi on 24 January 1125, aged fifty-three, after thirty-six years on the throne. He was buried at Gelati, under the great gate, so that everyone entering would walk across his grave. The Georgian church made him a saint. His successors, Demetre, Giorgi III and above all his great-granddaughter Tamar, would inherit the strongest state the Caucasus had seen since antiquity.