During King Janaka's reign, debates in ancient India (or Shastrarthas) were organised at the court of the kingdom to examine the knowledge of the scholars.
He introduced a regular examination of Shastrartha, called the Dhaut Pariksha, to prepare the future generation of Pandits.
Those who passed this examination were given the highest honor by the Maharaja of Darbhanga Raj, which was called the Dhaut Samman (or Dhautparikshottirna).
[5] According to the historian Pankaj Kumar Jha, this examination was generally organised on some auspicious occasions either at the time of accession to the throne or Yajnopavita ceremony at the court of the kingdom.
For example red dhoti in Nyaya Shastra, white in grammar, yellow in Mimansa, and so on.
He got the first position in the examination of Dhaut Pariksha organised at the court of Darbhanga Raj.
After successfully passing the examination of Dhaut Pariksha, the candidate was given the status of a Panjikar (or registrar).