Later Shu
In 934 — by which time Li Siyuan's adoptive son Li Congke was emperor — Zhang Yanlang was serving as the military governor of Xiongwu. That year, the commander of the army at Wen Prefecture (文州, in modern Longnan, Gansu), Cheng Yangui (), surrendered the prefecture to Later Shu. Zhang launched his army and put Wen Prefecture under siege. When the Later Shu general Li Yanhou () sent a relief force, however, Zhang lifted the siege and withdrew, allowing Later Shu to retain Wen. Shortly after, Li Congke recalled him from Xiongwu, made him "Zhongshu Shilang" (中書侍郎, the deputy head of the legislative bureau of government (中書省, "Zhongshu Sheng")), and made him a chancellor with the designation "Tong Zhongshu Menxia Pingzhangshi" (), as well as acting director of the three financial agencies.