King Janaka of Videha was an extraordinary figure in Vedic tradition - a king who was also a philosopher, a householder who had attained the knowledge of Brahman, the absolute reality.
Great sages - including Yajnavalkya, the most prominent philosopher of the Upanishadic age - came to Janaka's court not to teach but to learn.
Janaka organized great philosophical assemblies. In the Brihadaranyaka Upanishad, he offers a thousand cows with gold attached to their horns as a prize to whoever can claim to know Brahman best.
Yajnavalkya steps forward boldly and takes the cows. The other sages challenge him: "Have you won by boldness or by knowledge?" Yajnavalkya engages in profound philosophical debate.
But the question that shapes the Brihadaranyaka is Janaka's own: "What is the Self? What is the light by which I see when the sun has set, the fire has gone out, the lamp has died, and my speech is silent?"
Yajnavalkya answers: "Then you yourself are the light." The Self is its own illumination.
Janaka is Sita's father in the Ramayana. He is also the teacher who shows that the highest knowledge is not incompatible with the highest duty - that a king who rules with absolute justice and a philosopher who sees the Self clearly are not different kinds of people.