In ancient India justice was administered according to the Smritis , and was one of the most important and obligatory functions of a king . प्राचीन भारत में न्याय स्मृतियों के अनुसार दिया जाता था और यह राजा के सर्वाधिक महत्वपूर्ण एवं आज्ञापक कार्यों में से एक