Yajnavalkya was the foremost sage at the court of King Janaka of Videha, and one of the most original thinkers of the Vedic age. In the great debate of the Brihadaranyaka Upanishad he outreasons every philosopher in Mithila — including the formidable woman scholar Gargi Vachaknavi — and expounds ideas of the self (atman), action (karma) and liberation that became foundations of Indian thought.
Tradition also credits him with the Yajnavalkya Smriti, an influential text of law. That such debates were staged and rewarded in Janaka’s court is itself part of Mithila’s self-image: a land where kings prized knowledge above all, and where even a queen’s court could host the sharpest minds of the age.