Gandhi led non-violent protests in India against British rule through civil disobedience and the famous Salt March. Nationalism grew in India in the 1800s as the British exploited the nation's resources and people. Gandhi's tactics of non-compliance with unfair laws through boycotts and refusal to pay taxes put economic pressure on Britain and eventually led to India gaining independence in 1947 after World War II, though the country was partitioned along religious lines into India and Pakistan.