The growth of Indian nationalism accelerated after World War 1. Gandhi emerged as a leader of the masses and employed nonviolent civil disobedience campaigns like non-cooperation and salt marches to protest British rule. Tensions also grew between Hindu and Muslim communities, eventually leading to the partition of India and Pakistan in 1947 amid widespread violence that displaced millions and took over a million lives. India and Pakistan gained independence but the partition came at tremendous human cost.