The Ghaznavid army was already beaten before the first arrow flew. By the time Sultan Mas'ud I's forces reached the plain of Dandanaqan near the ancient city of Merv on May 23, 1040, they had been harassed for days by Seljuk raiders who struck fast and vanished into the steppe. Their supply lines were severed. Their water sources were seized. Discipline had collapsed into thirst. When roughly 16,000 Seljuk Turkmen cavalry finally committed to a full engagement, the battle was less a contest than a confirmation. The Ghaznavid Empire, which had dominated Central Asia and eastern Iran for half a century, broke apart on this patch of desert in what is now Turkmenistan.
Six years before the battle, the Seljuks had been refugees. Forced out of Transoxiana in 1034 by the Kara-Khanid Khanate, they settled in Khwarazm under the protection of a Ghaznavid governor named Harun. When Harun was murdered in 1035, the Seljuks fled again, this time through the vast Karakum Desert toward Merv. They ended up at Nasa, on the western edge of Khorasan. Sultan Mas'ud sent an army under Iltughdi to crush them. The Ghaznavid force initially drove the Seljuks off, but then made a critical mistake: the soldiers began fighting over captured spoils. Chaghri Beg, one of the Seljuk leaders, turned his horsemen around and struck the disorganized Ghaznavids hard. The defeat forced Mas'ud to grant the Seljuks three cities in Khorasan -- Dihistan, Nasa, and Farawa. It was meant as appeasement. Instead, it gave them a base from which to launch raids as far as Balkh. Within a few years, all of Khorasan was contested ground.
Mas'ud assembled a large army and marched toward Sarakhs to reclaim his lost provinces. The Seljuks did not meet him head-on. They understood their advantage: mounted Turkmen archers, traveling light across terrain they knew intimately, could outmaneuver a conventional army burdened with baggage trains, siege equipment, and supply wagons. As the Ghaznavid column advanced, Seljuk raiding parties harassed it constantly. They attacked flanks, burned supply caches, poisoned or occupied water wells, and disappeared before the heavier Ghaznavid cavalry could respond. Day after day, the raids continued. Morale crumbled. Soldiers grew desperate with thirst. By the time the Ghaznavid army reached Dandanaqan, it was starving, demoralized, and barely cohesive. The steppe had done most of the Seljuks' work for them.
On May 23, 1040, the Seljuks committed their full force. Approximately 16,000 mounted warriors engaged the Ghaznavid army near the city of Merv, one of the great cities of the medieval Islamic world. The battle was decisive. The Ghaznavids, weakened by weeks of attrition, could not hold formation. Their army shattered. A large portion of the Ghaznavid forces were destroyed outright. Sultan Mas'ud fled the field. He retreated eastward toward India, but his own court turned on him. He was overthrown and eventually murdered in prison -- a ruler who had inherited one of the most powerful empires in the region and lost it to a group of nomadic horsemen he had once dismissed as a nuisance.
What the Seljuks won at Dandanaqan was not merely a province or a city. They won a future. In the years following the battle, they captured Herat, Sistan, and Pushang. They besieged and took Balkh. By 1047, the Seljuk leader Tughril had coins minted in Nishapur bearing his titles of sovereignty. Within decades, the Seljuk Empire stretched from Central Asia to the gates of Constantinople, reshaping the political landscape of the entire Islamic world. The Great Seljuk Empire became the dominant power from Anatolia to Afghanistan, patron of scholars, builders of mosques and madrasas, and -- at their peak -- the most powerful Muslim dynasty on earth. All of it traced back to this battle near Merv, where a band of displaced nomads proved that speed, knowledge of the land, and the patience to let the desert fight for you could topple an empire.
Located at 37.39°N, 61.35°E near the ancient city of Merv in present-day Turkmenistan. The battlefield lies in the flat steppe and semi-desert terrain of the Mary Province, east of the modern city of Mary. The ruins of ancient Merv, a UNESCO World Heritage Site, are visible nearby as a series of earthen mounds and remnants of city walls. Nearest airport is Mary Airport (UTAM). Best viewed at 3,000-5,000 feet AGL; the contrast between the irrigated areas along the Murghab River and the surrounding desert makes the region of Merv easy to identify from altitude.