The appointment of Dhamma Mahamattas is mentioned in 5th major rock edict of the Maurya ruler Ashoka.