He was killed by violence. And his idea... He wanted to make Hindu-Muslim unity in India. The British government fabricated the Hindu-Muslim riots, and lastly, at last also, their purpose was fulfilled by partition of India, Pakistan and India. Now, Mahatma Gandhi worked throughout his whole life just to make a unification of the Hindus and Muslims. Unfortunately, at last, he had to see that the Hindus and Muslims of India were divided into Pakistan and India. And his nonviolence also failed.
So, because if we do not follow the right person, mahājana—mahājano yena gataḥ sa panthāḥ (CC Madhya 17.186)—then however I may be great in the estimation of the innocent public, that is wrong path. That is wrong path. Therefore the right thing is to follow the succession. Now, we have to follow the principle which Kṛṣṇa sets. Kṛṣṇa is not advocating, I mean to say, nonviolence. You cannot eradicate violence from this world. That is not possible because Kṛṣṇa Himself is on the battlefield and He is trying to induce Arjuna. Arjuna is declining and He is inducing, "No, you must fight." Yad yad ācarati śreṣṭhaḥ (BG 3.21). So we have to follow the footprints of great personalities. Dharmasya tattvaṁ nihitaṁ guhāyām. Mahājana. In the Śrīmad-Bhāgavatam you will find that it has been advised that religious principles should be followed by taking the life examples of great personalities.