According to the records of the Hindu texts, King Janaka used to appoint his ministers and advisors from the victorious scholars participating in
shastrarthas (
scholarly debates) organised by the King Janaka at his court. During the period of King
Siradhwaja Janaka in the Ramayana, the chief advisor at the royal court of the King Janaka was
Shatananda, the son of the Vedic sage Maharshi Gautama. In the text Brihadaranyaka Upanishad, there is mention of a Brahmin scholar
Ashvala as the chief advisor of King Janaka during the occasion of the scholarly contest Bahudakshina Yajna at the assembly of the court. Later, when the little Ashtavakra grew up and attained the age of tenth, he came to know the reason of the death of his father. After knowing the reason of the death of his father, he pledge to challenge and defeat Acharya Bandi at the court of the King Janaka in Mithila. Then, he along with his maternal uncle
Shvetaketu went to the court of King Janaka in Mithila. When they approached to the gate of the court, the gatekeeper stopped them to enter the assembly of the court. But suddenly when the King Janaka got notice of the arrival of the two young Brahmins at the gate of the court, he ordered the gatekeeper to allow them to enter at assembly of the court. The young Ashtavakra, after entering at the assembly of the court, challenged Acharya Bandi to do Shastrartha with him. Acharya Bandi accepted the challenge, but in the Shastrartha he was defeated by the young Brahmin Ashtavakra. Later, after the defeat of Acharya Bandi, the King Janaka appointed Ashtavakra as his chief advisor. Later, Ashtavakra preached the philosophy of self to the King Janaka at his court. The philosophical discourse between the sage Ashtavakra and the King Janaka is recorded as the text
Ashtavakra Gita. In the
Shanti Parva section of the text Mahabharata, there is mention of a King Janaka, whose advisor was the Vedic sage
Parashara, the father of Veda Vyasa. The Vedic sage Parashara preached the King Janaka about the philosophy of
karma-sanyasa. The philosophical discourse between the Vedic sage Parashara and the King Janaka is recorded as the text
Parashara Gita. In
Moksha-dharma Parva sub section of the section Shanti Parva in the text Mahabharata, once King
Janadeva Janaka asked a hundred acharyas of his court philosophical questions about salvation, but none of them could give satisfactory answers to his questions about salvation. Then by chance a sage named
Panchashikha entered to the court and he told the king the means of attaining salvation. The King Janadeva Janaka was satisfied and impressed by the answer of the sage Panchashikha. After that he abandoned his hundred acharyas and appointed Panchashikha as his chief advisor. Then, the chief advisor Panchashikha at the court, taught Janadeva Janaka about the philosophy of
Brahmavidya and
Shankhya Shastra. == Ladies scholars at the court ==