Ashoka in Rock Edict XII and many other edicts prescribes the following codes:
Megasthenese the Greek ambassador from the court of Selectus to that of Chandragupta Maurya wrote accounts of India and Indian people. His book 'Indica' is lost but some fragments of it are known to us in the form of quotations in the works of the later Greek writers. However the most important and authentic source for the history of Mauryan period is provided by the inscriptions of Ashoka.