The real historical figures in 'The Arabian Nights'

Long before European writers wrote about real monarchs, Arab storytellers did so with a much clearer purpose: to imagine justice prevailing where reality did not

The real historical figures in 'The Arabian Nights'

Around 1348, Giovanni Boccaccio began writing what would become known as The Decameron, a collection of 100 stories narrated by seven young women and three young men who flee the plague ravaging Florence for a secluded villa. There, over ten days, they take turns telling a new story each day.

What is particularly interesting is that Boccaccio incorporated rulers and sultans into his tales, some of them real historical figures. In the seventh tale of the second day, for instance, he mentions Beminedab, the Sultan of Babylon, and his daughter Alatiel. He also introduces the King of Cappadocia, the King of the Algarve in Portugal, the Turkish ruler Uzbeg, Saladin (whom he describes as the Sultan of Babylon, which, for Boccaccio, refers to Egypt), and Charles of Anjou, King of Sicily.

The appearance of kings and sultans in European tales was not a literary innovation. The Arabian Nights had already incorporated real historical figures as characters who played significant roles in its narratives. Whatever prompted European writers to bring monarchs into their tales, Arab storytellers did so with a clearer purpose: to imagine justice prevailing where reality did not.

Authority and storytelling

In his study The Eye and the Needle: A Study of The Arabian Nights, literary critic and scholar Abdelfattah Kilito offers an intellectual analysis of the kings, caliphs, and sultans who appear in the collection, examining how political authority and kingship intersect with the worlds of storytelling, writing, desire, and death.

Kilito regards King Shahryar as the central figure from whom the tales of The Arabian Nights originate, analysing how Scheherazade (the narrator and central framing character) transforms him from a brutal ruler to a listener who overcomes his distrust through three years of uninterrupted storytelling.

Of particular interest here, however, is Kilito’s detailed examination of the historical kings, caliphs, and sultans who feature in the tales. He explores the presence of the prophet and king, Solomon, as a reference figure whose influence permeates much of the book. Kilito regards him as the ultimate embodiment of kingship and authority, since he was the only ruler granted a dominion that no one after him would possess, allowing him to command the jinn and imprison them in sealed bottles.

Kilito argues that later kings and caliphs, such as Abd al Malik ibn Marwan, and adventurers such as Sinbad, sought to emulate Solomon’s sovereignty or gain access to his ring and tomb in pursuit of wisdom and power, only to find themselves confronted by the limits imposed by prohibitions and taboos.

Jinns and sailors

The appearance of Caliph Abd al Malik ibn Marwan is also examined, with Kilito analysing the tale of the City of Brass. During evening gatherings devoted to stories of ancient peoples, the caliph learns of the brass vessels in which the Prophet Solomon imprisoned jinns. Driven by curiosity, he commissions his governor, Emir Musa ibn Nusayr, and Emir Talib ibn Sahl to retrieve them. Kilito identifies an underlying motive: the caliph’s unspoken rivalry with the prophet and king Solomon.

Despite his vast empire, Abd al Malik has no authority over jinns and cannot command them as Solomon did, so he tests his own power and seeks to establish the legend's truth. When the expedition returns with three vessels, he opens one and sees the jinn. Yet he is cautious. Keen to safeguard his authority, he reseals the vessels and places them in his private treasury without engaging the jinn in any dialogue.

 ALI AL-SAADI / AFP
A massive bronze statue of Caliph Harun al-Rashid, created before the 2003 invasion of Iraq, sits in the warehouse of a foundry in Baghdad, on 7 July 2009.

Caliph Harun al Rashid then appears in the fifth chapter of Kilito’s study, which examines the tale of Sinbad the Sailor. At the end of his sixth voyage, Sinbad tells the caliph about the horrors he has endured and the extraordinary adventures he has experienced. The caliph then tells his historians and scribes to commit Sinbad’s story to writing, to preserve it for posterity.

Kilito sees Harun al Rashid’s decree as marking the moment when an oral tale becomes an official written record, deriving its legitimacy from the authority of the caliph and the institutions responsible for recording history. Harun al Rashid’s presence, however, is not confined to the tale of Sinbad. He features prominently in numerous other stories, bringing with him Baghdad, its ministers, and his courtiers.

Nor did al Rashid monopolise The Arabian Nights. The Mamluk Sultan al-Nasir Muhammad ibn Qalawun also appears, bringing with him Cairo and its neighbourhoods, alleyways, and streets. The contrast between how the two rulers and their respective cities feature in the tales is striking.

Popular storytelling also revived the figure of Sultan al-Nasir, portraying him as the ruler of Cairo and defender of Egypt's borders against Abyssinian ambitions

Roaming at night

In his book Harun Al-Rashid and the World of the Thousand and One Nights, André Clot offers a historical critique of the Orientalist portrayal of the Abbasid caliph Harun al Rashid, which reduced him to an extravagant ruler immersed in the pleasures of palace life. The Arabian Nights reinforced this image, alongside that of 'the good Harun al Rashid' who roamed the alleyways of Baghdad in disguise, accompanied by his vizier Ja'far al Barmaki and his executioner, Masrur. This legendary figure inspired the work of poets and writers such as Tennyson, Kipling and Longfellow.

Clot contrasts this literary portrayal with historical reality. Al Rashid was a stern military commander who transformed Baghdad into a global centre of culture and commerce, with networks extending from China to Europe. His reign was renowned for diplomatic relations with the Frankish emperor Charlemagne, the exchange of lavish gifts such as a water clock and a white elephant, and the dispatch of diplomatic missions to the court of China's Tang dynasty. It was also marked by his patronage of scholarship and the establishment of the House of Wisdom.

Contrary to the enduring friendship between al Rashid and his vizier Ja'far al-Barmaki depicted in The Arabian Nights, their close relationship ultimately gave way to a sweeping purge known as the downfall of the Barmakids. For his part, Robert Irwin explains in The Arabian Nights: A Companion that the appearance of the Abbasid caliph Harun al Rashid in tales written in Egypt was never intended as a historical record of his character. Rather, it reflected al Rashid's transformation in the popular imagination into a symbol of Baghdad's golden age.

ALI AL-SAADI / AFP
The Kahramana Square fountain in central Baghdad, which depicts a scene from the tales of "One Thousand and One Nights," on 31 July 2012.

Ruler and ruled

In tales written in later periods (particularly during the Mamluk era, such as Dalila the Crafty and Ali al Zaybaq), the revival of stories in which a disguised al Rashid roamed the streets at night with his vizier and executioner was driven by literary nostalgia for the lost glories of the Abbasid Caliphate. Irwin shows how the tales portrayed al-Rashid combining justice, dignity, and patronage of scholars with unpredictability, capriciousness, and violence, making him the archetypal absolute ruler.

As for Sultan al-Nasir Muhammad ibn Qalawun, Irwin (a specialist in Mamluk history and author of The Middle East in the Middle Ages: The Early Mamluk Sultanate) draws on an analysis of the urban environment of Mamluk Cairo as the historical and social crucible in which numerous popular epics took shape.

During the reigns of al-Nasir Muhammad ibn Qalawun's successors, particularly after tensions intensified with Abyssinia (Ethiopia) and its ruler Sayf Ar'ed (who persecuted Muslims and threatened to cut off the flow of the Nile to Egypt), the figure of Sayf ibn Dhi Yazan was revived, as Egyptians fashioned a folk epic around him, recasting him as a Muslim hero who invaded Abyssinia and defeated its tyrannical king, providing a psychological and cultural response to the circumstances of the Mamluk era.

Popular storytelling also revived the figure of Sultan al-Nasir, who had already died by the time Sayf Ar'ed came to power, portraying the beloved sultan as the ruler of Cairo and defender of Egypt's borders against Abyssinian ambitions. It was this same environment that facilitated the compilation of near-final versions of The Arabian Nights in the 14th century, specifically during the reign of al-Nasir Muhammad ibn Qalawun, owing to the length of his rule and the social stability, commercial prosperity, and remarkable urban development that accompanied it.

KHALED DESOUKI / AFP
An interior view of the Sultan Qalawun architectural complex in Historic Cairo, on 1 August 2018.

Baghdad to Cairo

Details of everyday life found their way into the tales through meticulous descriptions of markets, public baths, merchants' shops, the Qalawun hospital, and the authorities responsible for market supervision and night patrols. This reflection of contemporary life extended beyond official institutions to the underworld of Mamluk Cairo. Irwin examines the milieu of rogues and thieves, arguing that the stories of Ali al Zaybaq, Dalila the Crafty and Ahmad al Danaf directly mirror Cairo's vagabonds (Su'luks) and their dealings with the authorities.

A comparison of the settings in The Arabian Nights reveals that the shift from al Rashid's Baghdad to Mamluk Cairo also marks a move from the idealised city embodied by Baghdad to the real city of Mamluk Cairo, with its recognisable landmarks, streets, and neighbourhoods, where magic and the marvellous emerge from the very fabric of everyday life. Yet if the popular imagination had the power to reshape reality, capture the character of a city, and bring rulers to life through storytelling, what drove it?

To understand the motives, consider how The Arabian Nights should be read. In reality, it is far more than a collection of entertaining tales. A more considered reading reveals a literary work that might be classified as 'literature of defeat' or 'literature of the vanquished'. Scheherazade embodies the voice of the people who created her, endowed her with their own intelligence and eloquence, and placed her in Shahryar's royal palace as the wife of an embittered and grief-stricken king.

Through one story opening onto another (which in turn gives rise to an endless succession of tales), Scheherazade heals the king's troubled soul, triumphs over his tyranny and injustice, and strips him of his authority by the power of her words. The sultan, the caliph, and the jinns in The Arabian Nights can therefore be seen as symbols of the brute force wielded against the people, while Scheherazade and the subjects in the tales confront them with the power of the spoken word and triumph with remarkable ease.

Bringing the ruler into the tales, drawing him out of his palace or fortress and onto the streets to interact directly with ordinary people, can also be understood as the expression of a wish: that no barrier of courtiers should separate ruler from ruled and potentially conceal their suffering from him.

Hussein FALEH / AFP
Statues of Scheherazade and Shahryar, characters from "One Thousand and One Nights," in Baghdad, on 1 November 2023.

A caliph ventures out

Dutch scholar Mia Gerhardt brought The Arabian Nights to the attention of Western academia, such as through her seminal 1963 work The Art of Storytelling: A Literary Study of the Thousand and One Nights. She devoted particular attention to the recurring stories of the caliph venturing out in disguise, focusing specifically on Harun al Rashid and describing this narrative pattern as "nocturnal adventures".

These stories follow a clearly defined sequence that recurs throughout the text. The caliph is initially secluded in his palace, grows restless, sheds his royal attire and roams the alleyways of Baghdad at night, where he encounters the stories and grievances of his subjects. He then returns to his court to dispense justice and restore balance. Gerhardt distinguishes between the monarch's official body, and his body in disguise.

In the palace, the monarch's official body remains subject to a degree of political blindness. The institutions of power, with their walls, barriers, and apparatus, isolate him from reality, creating a distance that distorts the truth and prevents the voices of ordinary people from reaching him. By contrast, the body in disguise represents a symbolic divestment of authority. When the caliph removes his royal robes and assumes the guise of a merchant or dervish, he enters the world of his subjects among the markets, caravanserais, and Sufi lodges.

Gerhardt concludes that the popular imagination that produced The Arabian Nights establishes an essential condition for the attainment of justice: that truth and justice cannot emerge from within the walls of the royal court; the ruler must instead shed the trappings of power and become an anonymous observer who listens to people's grievances and the intimate details of their lives, without pretence on their part, without fear of his sword, or the barrier imposed by his courtiers and aides.

The exercise of power

Alongside this model of Abbasid authority in Baghdad, Gerhardt identifies another representation of power in Mamluk Cairo, embodied by Sultan al-Nasir Muhammad ibn Qalawun. Whereas Harun al Rashid represents the idealised ruler, al-Nasir Muhammad ibn Qalawun represents the real ruler of Cairo.

In Egyptian tales, al-Nasir's presence in The Arabian Nights does not depend on his assuming a disguise in pursuit of justice. Instead, he appears as a direct and undisguised participant in social life, interacting under his own name and identity with Islamic judges, thieves lurking in alleyways, and the world of rogues or sharpers, as in the tale of King al-Nasir and the Three Governors, and later tales of sharpers such as The Governor of Qus and the Sharper, and The Thief and the Money Changer.

Kilito explores the presence of the prophet and king, Solomon, in Arabian Nights, as a reference figure whose influence permeates much of the book

The narrative focus thus shifts. Instead of disguises and nocturnal excursions, the stories unfold in broad daylight and become part of everyday life in Cairo, with all its ironies, peculiarities, laughter, and tears. In this way, Gerhardt reveals a duality in the popular imagination of The Arabian Nights.

While Harun al Rashid is fashioned into a symbol of justice and the restoration of balance through the ruler's disguise, al-Nasir Muhammad ibn Qalawun is portrayed as a representative of official, judicial authority confronted by the ingenuity of his subjects and their urban trickery. This transforms the exercise of power from a legendary adventure of discovery and reform into a realistic struggle involving intrigue and negotiation, in which ruler and ruled become equal parties. This, too, constitutes a moral victory for the people.

Stories over armies

In his 1992 study Story-Telling Techniques in The Arabian Nights, American scholar David Pinault examines what he calls narrative delay, identifying it as the mechanism underlying the equation of 'a story in exchange for life'. In reality, the ruler has absolute authority and can order his executioner Masrur to behead his subjects with a single decisive word. In the tales, however, storytelling intervenes as a delaying tactic. The condemned offer an extraordinary tale whose continuation depends on the suspension of their sentence.

Iraqi academic Ferial Ghazoul examines the issue in Nocturnal Poetics: The Arabian Nights in Comparative Context. As soon as the ruler assumes a disguise and the story begins to unfold, his character undergoes a complete transformation. Whereas he could settle matters by ordering executions, the tale now ties his hands and suspends his decisions.

Instead of responding with violence, he becomes curious and eager to discover how the story ends. This produces a profound shift in the balance of power, as the ruler relinquishes his role as the dominant figure with the final word and becomes merely a listener, captivated by the magic of the story and the suspense created by its narrator. Ghazoul concludes that this model represents the ultimate manifestation of the power of the spoken word against the power of the sword, embodying the innate emotional intelligence of the oppressed.

Wikimedia Commons
Scheherazade, the main female character and narrator in "One Thousand and One Nights".

The ruler's subjects, including merchants, vagabonds, and sharpers like Scheherazade herself, have no armies or weapons to confront the sultan's brutality, so they substitute verbal eloquence for military might. As a result, they are judged before the disguised sultan not by their social standing but by their storytelling prowess and the originality of their tales. This imposes a new set of rules on the ruler: words and art are now the only effective forces capable of shifting his disposition from anger to clemency, from intransigence to flexibility.

The tales of The Arabian Nights reveal an intricate game through which the popular imagination reordered the balance of power. The inclusion of caliphs and sultans was neither an exercise in historical documentation nor a passing amusement. Rather, it constituted a conscious exercise of freedom and a symbolic neutralisation of killing as a response, at a time when Mamluk sultans took an interest in popular storytelling in its various forms and often extended their patronage and protection to it, from shadow theatre to oral tales. In both cases, popular storytelling offered the people a means of criticising those in power, while giving those in power a means of understanding the people.

font change