The Ottoman Conquest of the Hejaz 1517: How Selim I Became Servant of the Two Holy Cities

In July 1517, a twelve-year-old boy arrived in Cairo carrying the keys of the Kaaba. His name was Abu Numayy II, the son of Sharif Barakat II of Mecca, and he had come to hand the holiest object in Islam to a man he had never met, Sultan Selim I of the Ottoman Empire. There had been no battle for Mecca. No Ottoman army had marched on the city, no siege had been laid, no shot had been fired in the Hejaz. The keys were a gift, and a surrender, and an invitation, all at once. With them, the Ottoman Empire became the guardian of Mecca and Medina, the two holiest cities of Islam, and it would remain their guardian for the next four hundred years.

To understand how that happened, you have to start far from Arabia, on battlefields in Syria and Egypt. Selim I had been sultan for only four years, but he had already done what no Ottoman sultan before him had dared. In 1514 he had marched east and defeated the Safavid Persians at Chaldiran. Then he turned south, against the Mamluk Sultanate, the empire that ruled Egypt, Syria, and the Hejaz. The Mamluks were a proud military caste, but they fought the old way, with bows and swords and magnificent cavalry charges, and the Ottomans fought the new way, with artillery and matchlock firearms. On 24 August 1516, at Marj Dabiq near Aleppo, about 60,000 Ottoman troops destroyed a Mamluk army of some 20,000 in a single afternoon. The Mamluk sultan, Qansuh al-Ghawri, seventy-five years old, died on the field, of a stroke by most accounts. Aleppo fell, then Damascus, then Jerusalem. Selim followed the survivors into Egypt, and on 22 January 1517, at Ridaniya outside Cairo, he destroyed the second Mamluk army in about twenty minutes. The new sultan, Tuman Bay II, was captured, paraded through Cairo, and hanged at the Bab Zuwayla gate three months later. Within five months, Selim had taken Aleppo, Damascus, Jerusalem, and Cairo. The Mamluk Sultanate was gone.

The Hejaz had never been the target. It was a consequence. For two and a half centuries, Mecca and Medina had been under Mamluk suzerainty, ruled day to day by the Hashemite Sharif of Mecca, who governed the holy cities with a large degree of independence while recognising the Mamluk sultan as his overlord. When the Mamluk sultanate collapsed in a matter of months, the Sharif had a decision to make. He could resist the Ottomans, and be destroyed like the Mamluks. Or he could submit, and keep his position. Sharif Barakat II chose quickly and wisely. In July 1517 he sent his twelve-year-old son to Cairo, carrying the keys of the Kaaba and gifts and sacred relics, to offer the holy cities to Selim. The gesture was unmistakable. The Sharif was handing over custodianship of the holiest places in Islam, and asking only to be allowed to keep governing them as the sultan’s servant. Selim accepted. He confirmed Barakat as lord of the holy cities and the port of Jeddah, on condition that he recognise the Ottoman sultan as overlord. Mecca and Medina had changed masters without a single battle.

Selim understood what he had been given, and he marked it with a choice of words that is still remembered. The rulers of the holy cities had traditionally been called the Ruler of the Two Holy Cities, Hakim al-Haramayn. Selim refused the title. Instead, he called himself Khadim al-Haramayn, the Servant of the Two Holy Cities. It was a deliberate act of humility, and a brilliant piece of politics. A sultan who calls himself the servant of Mecca and Medina cannot be accused of ruling them for his own glory, and

Selim also brought home the symbols. On his return to Istanbul, he carried with him the relics of the Prophet that had been kept in Cairo, the mantle, the seal, the standard, and the swords, which arrived in the capital on 1 September 1517. The Abbasid caliph in Cairo formally acknowledged Ottoman suzerainty. Later generations would tell a grander story, that the caliphate itself was formally transferred from the Abbasids to the Ottomans in 1517, but historians now regard that as a later invention. What actually happened was simpler and more important. The Ottomans had taken over the lands, the cities, and the prestige of the old Islamic heartland, and they would hold them for four centuries.

Those four centuries changed both the Hejaz and the empire. The Ottomans subsidised the holy cities on a vast scale. Under Suleiman, the Magnificent, great sums were spent on new building in Mecca and Medina, and the empire organised and protected the pilgrimage. The great Hajj caravan set out from Damascus every year under Ottoman guard, carrying pilgrims, money, and supplies across the desert. In the seventeenth century, the holy cities were governed by a sharing of power between the locally autonomous sharifs and Ottoman governors. The system was tested, in 1803, when the Wahhabis took Mecca, and the Ottomans spent fifteen years winning it back. It was tested again by the building of the Hejaz Railway, the empire’s last great project, meant to carry pilgrims safely to Medina. And it ended, as it had begun, with an act of self-determination, when Sharif Hussein bin Ali revolted against Ottoman authority during the First World War. The last Ottoman garrison in Medina surrendered in January 1919, almost exactly four hundred years after the keys of the Kaaba had been handed to Selim.

The conquest of the Hejaz is the strangest of Selim’s conquests, because it was not really a conquest at all. He won the holy cities by winning two battles hundreds of miles away, and then a father sent his twelve-year-old son with a set of keys. But that is exactly why it mattered. The Ottomans did not take Mecca and Medina by force, so they did not have to rule them by force. They ruled them by an agreement,

Read also: The Hajj Caravan: How the Ottomans Guarded the Road to Mecca, https://playqudus.com/hajj-caravan-ottoman/

1 thought on “The Ottoman Conquest of the Hejaz 1517: How Selim I Became Servant of the Two Holy Cities”

Leave a Comment