 Premier Chiang Kai-shek had his office in the palace.During the Second Sino-Japanese War (1937–1945), Chiang Kai-shek's government fled to Chungking, and the Headquarters was occupied by Wang Jingwei, who collaborated with the invading Japanese.Following the Japanese surrender in 1945, Chiang Kai-shek's Nationalist Government reoccupied the Headquarters—Presidential Palace for governing the Republic of China.