Wang Jingwei, was a Chinese politician. He was initially a member of the left wing of the Kuomintang, but later became increasingly anti-Communist after his efforts to collaborate with the CCP ended in political failure. His political orientation veered sharply to the right later in his career after he joined the Japanese. Wang was a close associate of Sun Yat-sen for the last twenty years of Sun's life. After Sun's death Wang engaged in a political struggle with Chiang Kai-shek for control over the Kuomintang, but lost. Wang remained inside the Kuomintang, but continued to have disagreements with Chiang until Japan invaded China in 1937, after which he accepted an invitation from the Japanese Empire to form a Japanese-supported collaborationist government in Nanjing. Wang served as the head of state for this Japanese puppet government until he died, shortly before the end of World War II. His collaboration with the Japanese has often been considered treason against China.