The Battle of Shanghai was the first of the twenty-two major engagements fought between the National Revolutionary Army, Republic of China and the Imperial Japanese Army, Empire of Japan during the Second Sino-Japanese War. It was one of the largest and bloodiest battles of the entire war. Since 1931, China and Japan had been embroiled in incessant, smaller conflicts, often known as "incidents," that saw China lose territories piece by piece. The term "incident" traditionally has been used to downplay Japanese invasions of China. By August 1937, following the Marco Polo Bridge Incident of July 7 and the ensuing Japanese invasion of North China, Generalissimo Chiang Kai-shek decided to lead China into total war with Japan, though without a formal declaration of war. Dogged Chinese resistance at Shanghai was aimed at stalling the rapid Japanese advance, giving much needed time for the Chinese government to move vital industries to the interior, while at the same time attempting to bring sympathetic Western Powers to China's side.