 The problems of rehabilitation and reconstruction after the ravages of a protracted war were staggering, and the war left the Nationalists severely weakened, and their policies left them unpopular.Meanwhile, the war strengthened the Communists both in popularity and as a viable fighting force.At Yan'an and elsewhere in the communist controlled areas, Mao Zedong was able to adapt Marxism–Leninism to Chinese conditions.