Which characteristic did Chandragupta Maurya and Aśoka have in common?

They both converted to Buddhism.
They both formed alliances with the Greeks.
They both embraced nonviolence later in life.
They both carved edicts into rocks and pillars.