Why did Ashoka the Great write his edicts

AHe was afraid of being forgotten and wanted to leave his mark on the world forever
BHe wanted to present a strong warning to those who might disobey him in the future
CHe wanted to teach others how o be as successful at running an empire as he was
DHe had adopted a new religion and wanted to encourage others to convert as well