He became a prominent leader of the Indian National Congress and was a leading member of the Swaraj Party.