Introduction
Harishchandra is a king of the Ikshvaku dynasty, the son of Trishanku. He is remembered in Indian tradition as the king who never broke his word.
This article primarily follows the Puranic tradition. Where a detail comes from the Mahabharata or a later retelling, the article identifies it.
Family
The test
The Markandeya Purana tells how the sages Vishwamitra and Vasishtha debated Harishchandra's virtue. Vishwamitra wagered that he could make even Harishchandra break his word, and was given leave to test him.
Vishwamitra came to Harishchandra in a dream and was given a promise of dana — a gift. He returned when Harishchandra was awake and demanded the entire kingdom as the gift. Harishchandra gave it without hesitation. Vishwamitra then demanded the dakshina, the customary payment that must follow a gift. Having nothing left in the kingdom, Harishchandra sold his wife Shaibya and his son Rohitashva, and finally sold himself, to pay the dakshina. He went to work as a servant at a cremation ground, collecting dues on behalf of its chandala overseer.
Rohitashva's death
Sometime later, Rohitashva died of a snakebite. Shaibya, who had herself been sold into service in another household, brought his body to the cremation ground at night to cremate him. She could not pay the cremation fee. Harishchandra did not recognise her in the dark and demanded the payment. She tore her sari in half to offer a piece as the shroud-fee. As he lit the pyre, he recognised his wife and son — but would not abandon his duty or waive the payment.
The gods then appeared. Vishwamitra acknowledged that the test was complete and that Harishchandra had not once broken his word. The gods restored Rohitashva to life, returned the kingdom, and took Harishchandra and his family to heaven. In some versions of the story, the people of his kingdom chose to follow him.
Legacy
Harishchandra is one of the ideal kings of the Puranic tradition, cited whenever the virtue of satya — truthfulness — is discussed. The story is retold in the Markandeya Purana, the Devi Bhagavata Purana, and in the section of the Adi Parva where the sages praise exemplary kings. In later tradition his name became a common byword for absolute honesty.