In 1910, he withdrew from political life and spent his remaining life doing spiritual exercises and writing. But his works kept inspiring revolutionaries and struggles for independence, including the famous Chittagong Uprising. Both Swami Vivekananda and Sri Aurobindo are credited with having founded the basis for a vision of freedom and glory for India in the spirituality and heritage of Hinduism.