The Curse Before Birth
His father Kahoda was a learned Brahmin. While reciting the Vedas at night, he made errors. His unborn son Ashtavakra, already well-formed in the womb, corrected him eight times.
Kahoda, humiliated, cursed his son to be born crooked at eight places.
Ashtavakra was born bent - at both feet, both knees, both hands, the chest, and the head.
The Debate at Janaka's Court
King Janaka of Mithila held great philosophical debates. The prize was a thousand cows with horns gilded in gold.
A scholar named Vandin was defeating all challengers. He had defeated Kahoda - Ashtavakra's father - and by the rules of the contest, taken him as a forfeit.
Ashtavakra, still a boy, entered the debate hall to find his father.
The Laughter
When he walked in, bent at eight joints, moving with difficulty, the entire assembly of scholars - hundreds of Brahmins and philosophers - burst out laughing.
Ashtavakra laughed too.
Janaka asked why he laughed.
Ashtavakra said:
"I came to this court expecting a gathering of wise men - seekers of Brahman. Instead I find a cobbler's workshop. These men look at the skin. They assess the hide and the limbs. They do not see the Self within. I laugh because I am disappointed."
A complete silence fell.
The Teaching
Janaka was shaken - and genuinely moved. He asked Ashtavakra to teach him.
What followed became the Ashtavakra Gita - one of the most uncompromising statements of Advaita Vedanta:
The Self is pure, boundless, luminous. It is not the body. It is not the mind. It is the witness. When you know this, what is there to attain? What is there to fear?
Janaka received the teaching and, by tradition, attained liberation while still a king - the ideal of the jivanmukta, the one liberated while alive.
Ashtavakra won the debate, freed his father, and left.