In August 1937, the Japanese army invaded Shanghai where they met strong resistance and suffered heavy casualties. The battle was bloody as both sides faced attrition in urban hand-to-hand combat. By mid-November the Japanese had captured Shanghai with the help of naval bombardment. The General Staff Headquarters in Tokyo initially decided not to expand the war due to heavy casualties and low troop morale. Nevertheless, on December 1, headquarters ordered the Central China Area Army and the 10th Army to capture Nanjing, then-capital of the Republic of China.