The Scholar-King
The Patron
After the Narmada defeat, Harsha channeled his extraordinary energy into culture and learning. He became one of history's rare emperor-playwrights, composing three Sanskrit dramas that are still studied today. He lavished patronage on Nalanda University, transforming it into the ancient world's greatest center of learning. And he hosted the Chinese pilgrim Xuanzang, whose detailed records provide our most vivid portrait of seventh-century India. Discover the warrior-king as scholar, artist, and patron of intellectual greatness.
The Emperor Who Wrote Plays
In the year 643 CE, the Chinese pilgrim Xuanzang sat in the great assembly hall at Kanauj, watching a remarkable performance. On stage, actors presented a Sanskrit drama about a merchant's daughter who wins a king's love through wit and courage. The play was called Ratnavali, and its author was the emperor himself.
Harshavardhana was not merely a patron of literature. He was a playwright of genuine ability, author of three Sanskrit dramas that earned praise from critics who owed him nothing. In an age when kings commissioned poets to flatter them, Harsha created art that could stand on its own merit.
This was the final transformation of the teenager who had been thrust onto the throne by tragedy. The warrior who had conquered North India, the administrator who had built an efficient state, now became the scholar-king who would make his court a beacon of learning for all Asia.
The Three Plays
Harsha composed three Sanskrit dramas, each demonstrating mastery of the classical theatrical tradition:
Ratnavali (The Pearl Necklace)
This natika (romantic comedy) tells the story of Sagarika, a merchant's daughter who is shipwrecked and comes to serve as a maid in the palace of King Udayana. She falls in love with the king, and through a series of comedic complications involving a magical portrait and a pearl necklace, eventually wins his hand.
The play showcases Harsha's light touch with comedy and his understanding of romantic convention:
| Element | Description |
|---|---|
| Genre | Natika (romantic comedy in 4 acts) |
| Hero | King Udayana (idealized king figure) |
| Heroine | Sagarika (clever, devoted merchant's daughter) |
| Vidushaka | Vasantaka (the comic companion) |
| Theme | Love transcending social boundaries |
The choice of a merchant's daughter as heroine is notable. Harsha, the emperor, wrote sympathetically about a commoner winning royal love through her virtues rather than her birth.
Priyadarshika (The Lady Priyadarshika)
Another natika featuring King Udayana, this play tells of Princess Priyadarshika, who is captured in war and brought to Udayana's court disguised as a maid. Like Ratnavali, it involves mistaken identity, secret love, and eventual happy union.
Priyadarshika demonstrates Harsha's ability to weave together multiple plot threads while maintaining emotional coherence. The play includes beautiful lyric passages describing nature, love, and longing.
Nagananda (The Joy of Serpents)
This nataka (serious drama in 5 acts) is Harsha's most ambitious work and the only one with Buddhist themes. It tells the story of Prince Jimutavahana, who sacrifices his own body to save the Nagas (serpent beings) from Garuda's predation.
The play transforms from a romantic tale in its early acts to a religious drama of self-sacrifice:
- Acts 1-3: Prince Jimutavahana falls in love with the gandharva princess Malayavati
- Acts 4-5: Discovering Garuda is killing Nagas daily, the prince offers himself as substitute
- Resolution: The goddess Gauri, moved by his compassion, restores him to life
Nagananda reveals Harsha's deep engagement with Buddhist philosophy, particularly the ideal of the Bodhisattva, one who sacrifices personal benefit for the welfare of all beings.

Why an Emperor Wrote Plays
Why would Harsha, ruling the largest empire in India, spend precious time writing dramas? Several factors explain this unusual pursuit:
1. Personal Inclination
Banabhatta tells us that even as a young prince, Harsha showed talent for poetry and music. The military career thrust upon him by tragedy did not eliminate these interests, it only delayed their expression.
2. Cultural Prestige
In Indian tradition, a truly great king was expected to master multiple arts. The Kamasutra lists sixty-four arts that an educated person should know. Dramatic composition was among the most prestigious.
3. Religious Expression
Nagananda allowed Harsha to express his Buddhist convictions through art. The play preaches compassion and self-sacrifice more effectively than any sermon.
4. Legacy Building
Harsha understood that military conquests fade while cultural achievements endure. His plays would be studied long after his empire crumbled, as indeed they are, fourteen centuries later.
The Intellectual Court
Harsha's court at Kanauj became a magnet for scholars, poets, and artists from across India and beyond. Banabhatta, whose Harshacharita and Kadambari rank among Sanskrit literature's greatest achievements, was only the most famous of many talents Harsha attracted.
The emperor personally engaged with intellectual matters. Xuanzang describes:
"The king rises early and works until noon on affairs of state. The afternoon he devotes to learning, discussing philosophy with scholars, listening to new compositions, and pursuing his own studies. He sleeps little, for the work never ends."
This portrait of a king who divided his day between governance and scholarship was not mere flattery. Xuanzang had no reason to exaggerate, he was writing for a Chinese audience that would never meet Harsha.
Nalanda: The World's University

Harsha's greatest contribution to Indian learning was his patronage of Nalanda, the vast monastic university in modern Bihar that attracted students from across Asia.
Nalanda had existed before Harsha, founded by the Gupta emperors. But Harsha transformed it into something unprecedented: an international center of higher learning with:
- 10,000 students from India, China, Korea, Tibet, Central Asia
- 2,000 teachers covering Buddhist philosophy, Vedic studies, logic, grammar, medicine, astronomy
- Nine-story library called Dharmaganja (Treasury of Truth)
- Temple complexes with constant ritual and meditation
Xuanzang, who studied at Nalanda for five years, provides our most detailed description:
"The institution of Nalanda is surrounded by a brick wall. One gate opens into the great college, from which are separated eight other halls. The richly adorned towers and the fairy-like turrets are congregated together. Observatories seem to be lost in the vapors of the morning, and the upper rooms tower above the clouds."
Harsha did not merely fund Nalanda, he endowed it with the revenues of 100 villages. This guaranteed the university's financial independence, allowing it to pursue knowledge without worrying about patronage from individual rulers.
Xuanzang: The Great Witness
The Chinese Buddhist monk Xuanzang (602-664 CE) arrived in India around 630 CE after an arduous journey across Central Asia. He came seeking original Buddhist scriptures and authentic teachings.
His Da Tang Xiyu Ji (Great Tang Records on the Western Regions) provides our most comprehensive account of seventh-century India. For Harsha specifically, Xuanzang offers:
- Personal descriptions of the emperor's appearance and habits
- Political analysis of his administrative system
- Cultural observations about religion, learning, and daily life
- Eyewitness accounts of major events and ceremonies
Xuanzang and Harsha developed a genuine friendship. The emperor invited the Chinese monk to attend the great assemblies at Kanauj and Prayag (covered in the next lesson), introduced him to scholars across his realm, and provided escorts for his travels.
The Kanauj Assembly (643 CE)

Harsha organized a massive religious assembly at Kanauj specifically to showcase Xuanzang's learning. For eighteen days, scholars debated Buddhist philosophy, with Xuanzang defending Mahayana Buddhism against all challengers.
Xuanzang describes the scale:
"Twenty kings attended, along with a thousand Buddhist monks, five hundred Brahmins, and two hundred Jain ascetics. The assembly hall could hold tens of thousands."
No one successfully challenged Xuanzang's arguments. His reputation, and by extension, Harsha's reputation as patron of learning, spread across the Buddhist world.
Sanskrit Drama: The Context
To appreciate Harsha's achievement as playwright, we must understand classical Sanskrit drama's sophistication.
Sanskrit theater followed elaborate conventions codified in the Natyashastra of Bharata:
- Rasa theory: Eight primary emotional flavors (love, heroism, disgust, anger, fear, pity, wonder, peace) to be evoked in audiences
- Stock characters: The hero (nayaka), heroine (nayika), comic companion (vidushaka), villain (pratinayaka)
- Genre rules: Different play types (nataka, natika, prakarana) with specific requirements
- Verse and prose: Sophisticated mixing of meters and prose dialogue
- Sanskrit and Prakrit: Elite characters speak Sanskrit, common characters speak Prakrit dialects
Harsha's plays demonstrate mastery of these conventions while adding his own voice. Critics note his particular skill with:
- Atmospheric description: Nature poetry integrated with dramatic action
- Comic timing: The vidushaka (comic companion) scenes in his romantic comedies
- Religious depth: Nagananda's transformation from romance to spiritual drama
The Legacy of Patronage
Harsha's cultural patronage had effects far beyond his lifetime:
For Indian Literature
The court of Kanauj established standards that influenced Sanskrit literature for centuries. Banabhatta's prose style became a model. Harsha's own plays remained in the theatrical repertoire.
For Buddhism
Harsha's support for Nalanda helped transmit Buddhism to Tibet, China, Korea, and Japan. Scholars trained at Nalanda carried texts and teachings across Asia.
For Historical Knowledge
Xuanzang's detailed records, preserved because of his friendship with Harsha, provide our most important source for seventh-century India. Without them, we would know far less about this era.
For the Ideal of Kingship
Harsha's example, the warrior-king who was also scholar and artist, influenced Indian ideas about what a true ruler should be. Later dynasties measured themselves against his cultural achievement.
The Scholar-King in Context
Harsha was not unique as a royal author. Other Indian kings composed poetry and patronized learning. But the combination of his political achievement and literary accomplishment was rare.
Consider the comparison:
| Ruler | Military Achievement | Literary Achievement |
|---|---|---|
| Ashoka | United India | Edicts, but no creative works |
| Samudragupta | Great conquests | Praised as poet, works lost |
| Harsha | United North India | Three surviving plays |
| Krishna Devaraya | Vijayanagara power | Telugu literature |
Harsha's plays survive when the works of other royal poets have been lost. This may be accident of transmission, or it may be that his plays were simply good enough to preserve.
The Transformation Complete
The lesson of Harsha's literary career is one of transformation. The teenager thrust into kingship by tragedy, the young conqueror driven by vengeance, the emperor checked at the Narmada, this same person became one of India's notable literary figures.
How did this happen?
Time and Security
By the 630s, Harsha's military phase was over. His empire was secure. He had time and mental space for pursuits that warfare had not permitted.
Redirection of Energy
The ambition that drove his conquests did not disappear, it found new outlets. The same drive that built an empire now built a cultural legacy.
Deep Interests Realized
The artistic inclinations of his youth, suppressed by necessity, finally found expression. Harsha became who he had always potentially been.
Banabhatta, who knew him from his court poet days through his literary flourishing, wrote:
"The king who had unified nations now unified the arts. What his sword had done for political geography, his pen did for learning, bringing together under one patronage all that was excellent in the world."
The Plays Today
Harsha's three dramas remain studied in Sanskrit literature courses. They are performed occasionally by traditional theater groups. They have been translated into modern Indian languages and English.
Their survival is itself remarkable. Most medieval Indian literature has been lost. That Harsha's plays endured suggests they were valued not just for their royal authorship but for their genuine literary merit.
The emperor who never expected to rule left works that outlasted his empire by thirteen centuries. The plays will likely be read when the details of his political achievements are forgotten.
In this sense, Harsha's literary gambit succeeded. He understood that culture endures while power fades. The scholar-king ensured his immortality not through conquest but through art.
Historical context
Post-Gupta Period (c. 630-645 CE)
North India under Harsha enjoyed political stability and cultural flourishing. Nalanda University reached its peak as students from across Asia came to study Buddhist philosophy, logic, and medicine. Sanskrit literature experienced a golden age with poets like Banabhatta producing masterworks.
Living traditions
Nalanda's name has been revived for a modern international university (Nalanda University, established 2010) near the ancient site. Harsha's plays continue to be studied in Sanskrit literature courses worldwide. The model of the scholar-king, combining political authority with intellectual achievement, remains an ideal in Indian political thought.
- Nalanda University Ruins: The archaeological remains of the great university Harsha patronized. UNESCO World Heritage Site featuring excavated monasteries, temples, and lecture halls. The site gives a sense of the scale of ancient Indian higher education, at its peak, over 10,000 students studied here.
- Kanauj: Site of Harsha's imperial capital where he held his court, wrote his plays, and hosted Xuanzang's great debate. Though the ancient city is largely gone, the town preserves its association with India's classical age. The perfume industry here claims ancient origins.
Reflection
- What creative or intellectual pursuits have you set aside due to the demands of work or responsibility? How might you reintegrate them into your life?
- Why do you think Harsha chose to write plays rather than religious texts or political treatises?
- Can political power and genuine intellectual or artistic achievement coexist, or does one inevitably corrupt or diminish the other?