Satyagraha (Sanskrit: सत्याग्रह satyāgraha) is a philosophy and practice of nonviolent resistance developed by Mohandas Karamchand Gandhi (also known as "Mahatma" Gandhi) said to have been inspired by Henry D. Thoreau's 1848 essay "Civil Disobedience". Gandhi deployed satyagraha in campaigns for Indian independence and also during his earlier struggles in South Africa. Satyagraha theory also influenced Martin Luther King, Jr. during the campaigns he led during the civil rights movement in the United States. The theory of satyagraha sees means and ends as inseparable. Therefore, it is contradictory to try to use violence to obtain peace. As Gandhi wrote: “They say, 'means are, after all, means'. I would say, 'means are, after all, everything'. As the means so the end...”