Only the Italian and French concessions (the local French officials were loyal to Vichy) were allowed by the Japanese to remain. When Italy signed an armistice with the Allies in September 1943, Japanese troops took the Italian concession following a battle with its garrison, and the Italian Social Republic formally ceded it to Wang Jingwei's Japan-controlled puppet state. Japanese occupation of the city lasted until August 15, 1945, with the surrender of Japan marking the end of World War II.