<P> During the Second World War (1939--1945), India was controlled by the United Kingdom, with the British holding territories in India including over five hundred autonomous Princely States; British India officially declared war on Nazi Germany in September 1939 . The British Raj, as part of the Allied Nations, sent over two and a half million soldiers to fight under British command against the Axis powers . The British government borrowed billions of pounds to help finance the war . India also provided the base for American operations in support of China in the China Burma India Theater . </P> <P> Indians fought with distinction throughout the world, including in the European theatre against Germany, in North Africa against Germany and Italy, in the South Asian region defending India against the Japanese and fighting the Japanese in Burma . Indians also aided in liberating British colonies such as Singapore and Hong Kong after the Japanese surrender in August 1945 . Over 87,000 Indian soldiers (including those from modern day Pakistan, Nepal, and Bangladesh) died in World War II . Field Marshal Sir Claude Auchinleck, Commander - in - Chief of the Indian Army from 1942 asserted the British "couldn't have come through both wars (World War I and II) if they hadn't had the Indian Army ." </P> <P> The Muslim League supported the British war effort while the largest and most influential political party existing in India at the time, the Indian National Congress, demanded independence before it would help Britain . London refused, and when Congress announced a "Quit India" campaign in August 1942, tens of thousands of its leaders were imprisoned by the British for the duration . Meanwhile, under the leadership of Indian leader Subhas Chandra Bose, Japan set up an army of Indian POWs known as the Indian National Army, which fought against the British . A major famine in Bengal in 1943 led to millions of deaths by starvation, and remains a highly controversial issue regarding Churchill's reluctance to provide emergency food relief . </P>

Who attacked india in the second world war