Conversation so far:
who was british pm and viceroy during quit india movement
Sir Winston Churchill was the British Prime Minister during the Quit India Movement.
when did the quit india movement begin
The Quit India Movement was a movement launched at the Bombay session of the All-India Congress Committee by Mahatma Gandhi on 8 August 1942.
what was the goal of the quit india movement
The Quit India Movement demanded an end to British Rule of India.
was the quit india movement successful
The Quit India campaign was effectively crushed.

Question: then how did india gain independence
Self-contained rewrite: if the quit india campaign was effectively crushed, then how did india gain independence