Emperor Ashoka conquered Kalinga following a devastating war that led to untold losses in terms of life and property. The carnage was so much that he gave up war itself and set about governing his empire through the policy of non-violence.
For further reading check the following articles: