During the Second Sino-Japanese War, China established a close partnership with the United States and was given military and financial supports. George Marshall was appointed ambassador to Chongqing, the wartime capital, as to broker a negotiation between the Kuomintang (Nationalist Party) and Communist Party after the war. Two parties agreed to rebuild the country with democratization and military nationalization.