A Son Sold to Save the Rest of the Family
This episode, recorded in the Aitareya Brahmana and later retold in the Bala Kanda of the Ramayana as a story Vishwamitra tells Rama and Lakshmana during their forest journey, begins with King Harishchandra (this series covers Harishchandra's own separate trial of truth elsewhere), who remains childless despite his wish for a son and prays to Varuna, promising to sacrifice his future son to the god if granted one.
A son, Rohita, is born, but Harishchandra repeatedly postpones the promised sacrifice as the boy grows, using various delays and excuses, until Varuna's patience runs out and the god threatens the king directly. Rohita, learning the situation, flees to the forest rather than be sacrificed himself, and after years of evading the obligation, the family eventually needs a substitute victim to fulfil the vow.
Ajigarta, a poor sage with three sons and struggling to feed his family, agrees to sell his middle son, Shunahshepa, to Rohita as a substitute for the sacrifice, in exchange for payment that will relieve the family's poverty - a transaction the text presents with unflinching honesty about the desperation involved rather than softening it.
Tied to the Sacrificial Post, His Own Father Volunteering to Kill Him
Shunahshepa is brought to Harishchandra's court and bound at the sacrificial post as Rohita's substitute, and when no one else can be found willing to perform the actual killing, Ajigarta himself, in an act the text treats as a further, deeper degradation than the initial sale, comes forward and offers to kill his own son for additional payment.
Shunahshepa, understanding his imminent death and abandoned by the very father who sold and is now preparing to kill him, prays desperately to various gods for rescue, and it is Vishwamitra, present at the sacrifice, who takes pity on the boy's genuine, articulate distress and intervenes directly, teaching him specific Vedic hymns (associated in the tradition with particular verses addressed to Indra, Vishnu and other deities) that Shunahshepa can recite to invoke divine protection at the very moment of the sacrifice.
Shunahshepa recites the hymns Vishwamitra has just taught him with genuine devotion and skill, and the gods, moved by his sincerity and the power of the correctly performed invocation, intervene: his bonds loosen and fall away on their own, and Varuna, satisfied that the underlying debt has been honoured through the ritual's completion in spirit if not in the literal killing, releases Harishchandra's family from the original vow.
Adopted by the Man Who Taught Him, Refused by the Father Who Sold Him
Freed from the sacrifice, Shunahshepa is formally adopted by Vishwamitra, who names him Devarata and treats him fully as his own son, an act of genuine rescue and restoration that also, in the wider narrative logic of the episode, reflects well on Vishwamitra's own character during a period of the epic broadly concerned with his transformation from king to sage.
Ajigarta, Shunahshepa's biological father, attempts to reclaim him afterward, but Shunahshepa refuses to return to a man who had twice been willing to sacrifice him for payment, and this refusal is upheld - the tradition treating his choice as entirely justified given his father's documented willingness to kill him, rather than expecting blind filial obligation to override the reality of what had happened.
Shunahshepa's later life is associated with the composition of specific hymns in the Rigveda credited to Devarata (his adopted name), and the episode as a whole is frequently discussed in commentary as a rare, unusually direct piece of Vedic-era narrative addressing poverty's power to drive impossible moral choices, alongside the more comforting theme of genuine intervention and rescue arriving through both human compassion (Vishwamitra) and correctly directed devotion (Shunahshepa's own prayer) rather than through birth status or family loyalty alone.
Reader Questions Answered
Why was Shunahshepa chosen as a substitute for the sacrifice?+
King Harishchandra's family needed a substitute victim to fulfil a vow to sacrifice a son to Varuna, and Shunahshepa's father Ajigarta, struggling with poverty, agreed to sell him for payment that would relieve the family's hardship.
How exactly did Vishwamitra save Shunahshepa?+
He taught the bound boy specific Vedic hymns to recite at the moment of sacrifice, invoking divine protection - Shunahshepa's sincere recitation moved the gods to loosen his bonds and satisfied Varuna that the vow had been honoured in spirit.
Did Shunahshepa ever return to his biological father?+
No - he refused Ajigarta's later attempt to reclaim him, a refusal the tradition treats as justified given his father's documented willingness to kill him twice over for payment, and remained instead with his adoptive father Vishwamitra.
About the author
Anjali Mehta · Editor, M.A. Religious Studies
Anjali is the managing editor for Vandnaa and oversees the festival and vrat coverage. She holds an M.A. in Religious Studies and reviews every published article for accuracy, accessibility, and tradition-fidelity.
Meet the Vandnaa editorial team →