The Battle of Dandanaqan, 1040
The victors held their council on the battlefield itself. In late May 1040, among the abandoned tents and baggage of a beaten imperial army, the leaders of a Turkish clan that had crossed the Oxus as herders only a few years earlier sat down to divide the provinces of eastern Iran among themselves. Tughril Beg would take the west, his brother Chaghri Beg would keep Khorasan, their uncle Musa Yabghu and their cousins would have the lands to the south. Then they sent word of their victory to the Abbasid caliph in Baghdad.
The battle they had just won, at a small desert fortress called Dandanaqan between Merv and Sarakhs, in what is now Turkmenistan, is the founding battle of the Great Seljuk Empire. Its story is easiest to follow on three maps: the world before it, the three days of fighting, and the world that came after.
Dandanaqan at a glance
- 23 May 1040
- the decisive day, after two days of fighting
- About 16,000
- Seljuk horsemen, the figure most often given
- Several times larger
- the Ghaznavid army, with war elephants
- 15 years
- from Dandanaqan to the Seljuk entry into Baghdad (1055)
- 31 years
- from Dandanaqan to Manzikert (1071)
Map one: Khorasan in the 1030s
In the early eleventh century the most powerful state in the eastern Islamic world was the Ghaznavid Empire, ruled from Ghazni in what is now Afghanistan. Its great sultan, Mahmud, had raided deep into India and governed a realm that stretched from the Punjab to western Iran. His treasury was full, his army was large and professional, built around slave soldiers and Indian war elephants, and his court was a center of Persian literature.
North of the Ghaznavid frontier, beyond the Oxus River (the Amu Darya), lived nomadic Oghuz Turks. One clan among them was led by the grandsons of a chief named Seljuk. In the 1030s, squeezed by their neighbors, the brothers Tughril and Chaghri led their people south across the river into Khorasan, the rich Ghaznavid province of oases and cities around Merv, Nishapur and Herat. They asked for grazing land and offered service. The Ghaznavid governors saw them instead as raiders.
Mahmud's son Mas'ud, sultan from 1030, sent armies against them. The first was routed in 1035. Over the next years the Seljuks grew bolder: they took Merv, and in 1038 Tughril entered Nishapur and had the Friday prayer said in his name. Mas'ud then took the field himself, determined to drive these herdsmen back across the Oxus for good.
Map two: the desert between Sarakhs and Merv
The campaign that followed was a contest between two kinds of army. Mas'ud's was heavy and slow, with infantry, baggage trains and elephants that needed water and fodder. The Seljuks were mounted archers who could live off their herds, move fast and refuse battle. Through 1039 and early 1040 they did exactly that. They avoided a pitched fight, harassed the Ghaznavid columns, drove off supply caravans and, according to the accounts, filled in or spoiled wells along the line of march.
By May 1040 Mas'ud's army was moving across the dry country between Sarakhs and Merv toward the walled post of Dandanaqan, short of water and worn down by heat and constant skirmishing. Our best source for these weeks is the history written by Abu'l-Fazl Bayhaqi, a secretary at Mas'ud's court who knew many of the men involved. His account is that of a loyal Ghaznavid official, and it describes an army falling apart from within: thirsty soldiers quarrelling over water, commanders who no longer trusted each other, and some of the sultan's Turkish slave troops who had little reason to die for him against other Turks.
The fighting lasted three days. On the third, 23 May, the Seljuks attacked the exhausted army near the fortress. Parts of the Ghaznavid force broke or went over to the enemy. Mas'ud is said to have fought bravely, but his army dissolved around him, and he escaped with a small escort, leaving his camp, treasure and elephants behind.
Map three: from the Oxus to the Mediterranean
The council on the battlefield turned a nomadic tribal confederation into a state. Tughril was recognized as leader, and the family's lands were shared out according to steppe custom, with each branch taking a direction. Chaghri held Khorasan from Merv; Tughril pushed west across Iran, taking Rayy, near modern Tehran, and then Isfahan.
The Ghaznavids never recovered their western provinces. Mas'ud retreated toward India, and in 1041 he was overthrown by his own troops and killed. His successors ruled on in Afghanistan and northern India for another century and a half, but they were no longer a power in Iran.
In 1055 Tughril entered Baghdad at the invitation of the caliph, who gave him the title of sultan, and the Seljuks became the protectors of Sunni Islam's highest office. Chaghri's son, Alp Arslan, succeeded his uncle and in 1071 defeated the Byzantine emperor at Manzikert, opening Anatolia to Turkish settlement. Within a generation of Dandanaqan, an empire founded by Oghuz herdsmen stretched from Central Asia to the Mediterranean. Branches of the family went on to rule Anatolia as the Seljuk Sultanate of Rum, the state from which, in time, the Ottoman Empire would emerge.
Why it is remembered
Dandanaqan is not well known in Europe, but it is one of the key battles of Islamic and Turkish history. In Turkey it is taught as the founding moment of the Great Seljuk state, the "Dandanakan Savaşı", and it is often linked with Manzikert as two steps in the long movement of Turkish peoples from Central Asia into the Middle East and Anatolia. It also shows a pattern that repeats across the history of the steppe: a mobile army of horse archers wearing down a richer, slower and better-equipped enemy by refusing to fight until the moment of its choosing.
Today the site lies in the Karakum region of Turkmenistan, southwest of the oasis city of Mary, the successor of ancient Merv. Remains of the medieval caravan town of Dandanaqan, including fragments of walls and a caravanserai, survive in the desert. The ruins of Merv itself, once one of the largest cities in the world and later the Seljuk capital in Khorasan, are a UNESCO World Heritage Site.
In the Warsmap data
- Dandanaqan is one of the most isolated flags on our map. Within 250 km our records hold no other battle at all.
- The nearest is the Battle of Nishapur (652), from the Arab conquest of Iran, about 262 km to the west-southwest.
- Qatwan (1141), where a later Seljuk sultan, Sanjar, was defeated by the Qara Khitai, lies about 552 km to the east-northeast, near Samarkand: a reminder that the steppe frontier that made the Seljuks could also break them.
- Manzikert (1071), where Chaghri's son Alp Arslan defeated the Byzantines, is about 1,650 km to the west.
Counted from Warsmap’s own records. The map only holds battles recorded in Wikidata, so these figures describe our dataset, not the full history of the area.
More from this era
- The Battle of Talas, 751
- The Battle of al-Qadisiyyah, 636
- The Battle of Manzikert (Malazgirt), 1071
- The Battle of Ain Jalut, 1260
From the Warsmap data
Further reading
Battle of Dandanaqan · Tughril · Ghaznavids · Seljuk Empire
Facts in this article are summarized from the Wikipedia articles above and other standard references. Wikipedia text is available under CC BY-SA 4.0. Spotted an error? See our corrections policy.