Correct option is D
Ashoka, the Mauryan emperor, was the first Indian ruler to appoint Dharmamahamatras (officers of righteousness). These officers were appointed after Ashoka's conversion to Buddhism following the Kalinga War. Their primary role was to promote the welfare of the people by enforcing moral conduct, spreading Dhamma (the moral law), and addressing matters of public welfare, justice, and non-violence.
Dharmamahamatras were responsible for monitoring the moral and ethical conduct of people, ensuring that they followed Ashoka's edicts of non-violence, compassion, and adherence to moral principles.
These officers were also tasked with promoting social harmony, including resolving disputes and ensuring that marginalized groups like prisoners and slaves were treated humanely.