Following the outbreak of war between Japan and China in July 1937, the Japanese government at first attempted to contain the fighting and sought a negotiated settlement to the war. However, after victory in the Battle of Shanghai expansionists prevailed within the Japanese military and on December 1 a campaign to capture Nanking was officially authorized. The task of occupying Nanking was given to General Iwane Matsui, the commander of Japan's Central China Area Army, who believed that the capture of Nanking would force China to surrender and thus end the war. Chinese leader Chiang Kai-shek ultimately decided to defend the city and appointed Tang Shengzhi to command the Nanking Garrison Force, a hastily assembled army of local conscripts and the remnants of the Chinese units who had fought in Shanghai.