In terms of its long-term effects on the war of attrition, the Battle of Shanghai bought enough time for the Chinese government to move some of its vital industries to Wuhan and Xi'an, and from there to Chongqing, China's wartime capital after the fall of Nanjing and Wuhan. The difficulty in dismantling and relocating thousands of tons of machinery and factory equipment, especially in the heat of Japanese bombing campaigns, meant that the Chinese government fell short of its goal of moving the entire industrial base from the Shanghai region.