<human>:  Can you explain what Mahatma Gandhi did to achieve Indian independence?
<bot>: Mahatma Gandhi was an influential leader in the struggle for Indian independence. He employed peaceful, nonviolent resistance to inspire the Indian people and pressure the British government to grant India its freedom. He advocated for civil disobedience and mass peaceful protests, such as the Salt March, as a way for Indians to express their demand for independence. He also encouraged boycotts of British goods and promoted self-sufficiency. Through this combination of peaceful protest and economic disobedience, he helped India to achieve independence in 1947.