When Gandhi returned to India from South Africa which war effort did he support?

Gandhi supported the war between India and the British. He wanted India to have independence from the British. He did this through nonviolent protests and marches.