After the failed attempt by the Chinese Red Army to establish bases in southern Shanxi in early 1936 Yan became convinced that the Communists were lesser threats to his rule than either the Nationalists or the Japanese. He then negotiated a secret anti-Japanese "united front" with the Communists in October 1936 and invited them to establish operations in Shanxi. Yan, under the slogan "resistance against the enemy and defense of the soil", attempted to recruit young, patriotic intellectuals to his government in order to organize a local resistance to the threat of Japanese invasion. By the end of 1936 Taiyuan had become a gathering point for anti-Japanese intellectuals from all over China.