He was a prominent leader of the Indian independence movement against British colonial rule. Gandhi studied law in London and practiced as a barrister in South Africa, where he became actively involved in fighting racial discrimination against Indians.