A Mahamatra was an "officer of morality" established by the Indian Maurya Emperor Ashoka. Their full title was Dhaṃma Mahāmātā, the "Inspectors of Dharma". They were apparently a class of senior officials who were in charge various aspects of administration and justice.