Zhang Quanyi, a poor peasant, not only survived the frequent changes of dynasties and the mutual infighting and brutal killing within the ruling class, but also won a prosperous official position, and he had his own set of methods of seeking perfection.
Zhang Quanyi was born in the first year of the Tang Jingzong Bao calendar (825), a native of Puzhou (present-day Fan County, Henan), whose original name was Juyan or Yan, and his ancestors were poor peasants.
<h1 class="pgc-h-decimal" data-index="01" > The Founding Emperor Huang Chao</h1>

Zhang Quanyi's family was a farmer, he worked as a small official in the county, and he was repeatedly insulted by the county order and hated the ruling class very much, so he fled to join the rebel army of Huangchao.
Followed Huang Chao to fight in various places, and made many military achievements. After the rebel army captured the Tang capital Chang'an in the first year of the Tang Dynasty (880), Zhang Quanyi was appointed by Huang Chao as an official Shangshu and water transport envoy, in charge of daqi's water transport affairs.
<h1 class="pgc-h-decimal" data-index="02" > Tang Zhaozong Li Ye</h1>
Tang Zhaozong
As Huang Chao was driven out of Chang'an and gradually defeated, Zhang Quanyi also changed the court and defected to zhuge Shuang in the Tang Dynasty's Three Cities of Heyang.
Zhuge Shuang asked the Tang court to appoint him as the assassin of Ze Prefecture (泽州, in present-day Jincheng, Shanxi). Emperor Zhaozong of Tang gave him the name Zhang Quanyi.
After Zhang Quanyi surrendered to the Tang Dynasty, he served in Luoyang, and he was very loyal to his duties, and the governance of Luoyang, which was full of white bones and thorns, was in order, and within a few years, he was famous for his wealth and gave Zhu Wen great help in materials.
<h1 class="pgc-h-decimal" data-index="03" > Emperor Li of the Tang Dynasty</h1>
After the death of Emperor Zhaozong of Tang, Zhu Wenli, the second son of Emperor Zhaozong and the ninth son, Li Tao, was made emperor at the age of thirteen, and was known as Emperor Ai of Tang.
<h1 class="pgc-h-decimal" data-index="04" > Liang Taizu ZhuWen</h1>
Liang Taizu
In the first year of Tianyou (904), Zhu Wen accepted the throne of Emperor Ai of Tang, officially the emperor's throne, changed his name to Zhu Huang, and established the Liang Dynasty.
Zhang Quanyi was an official under Zhu Wen, and in order to avoid Zhu Wen's name Quanzhong, Zhang Quanyi offered to let Zhu Wen change his name, and Zhu Wen was very happy, so he gave him Zhang Zongshuang, thinking that Zhu Wen wanted him to work hard to serve Hou Liang by following the example of Zhou Tianzi who had assisted Zhou Tianzi.
Zhang Quanyi has always been cautious and cautious, not only doing his best to do a good job in Zhu Wen's logistical supply, but also enduring humiliation to a degree that ordinary people cannot accept:
In the second year of Qianhua (912), "Taizu Bing defeated Ying County, Dao sickness, Huan Luo, fortunately Quanyihui Festival Garden to escape the summer, staying in the tenth day, Quanyi's wife and daughter were forced to commit adultery." "
The gist was that one autumn was very hot, he went to Zhang Quanyi's house for a few days, and his wife, daughter, and daughter-in-law all slept with Zhu Wen.
Zhang Quanyi's son could not see it, and he was angry and wanted to kill Zhu Wen. He stopped his son and said, "Zhu Wen has the grace to save my life, let him do whatever he wants, and must not do ungrateful things." ”
Later, Zhang Quanyi also married his daughter to Zhu Wen's fifth son, Zhu Youzhang, the Prince of Fu.
Zhang Quanyi was able to be made by Zhu Wenjin as the King of Wei and the Heyang Jiedushi, and it seems that he not only needs to be left and right, but also despicable and shameless.
<h1 class="pgc-h-decimal" data-index="05" > Later Liang Emperor Zhu Youjue</h1>
Zhu Wen was killed by his parent Zhu Youjue because of the succession problem. Zhu Youjue took the throne.
<h1 class="pgc-h-decimal" data-index="06" > Zhu Youzhen, emperor of the late Liang Dynasty</h1>
In the third year of Qianhua (913), the forbidden army mutinied and killed Zhu Youjue. Zhu Youzhen then proclaimed himself emperor in Tokyo.
Although Zhang Quanyi was loyal to the Liang Dynasty, he was not reused after Zhu Wen.
He had asked to command the operation in Hebei, but it was not accepted.
Therefore, when Emperor Li Cunxun of Tangzhuang attacked Kaifeng, Henan, Zhang Quanyi rushed from Luoyang to Kaifeng to swear allegiance to Emperor Li Cunxun of Tangzhuang.
<h1 class="pgc-h-decimal" data-index="07" > Later Tang Zhuangzong Li Cunxun</h1>
Li Cunxun
Later, when Later Tang destroyed Hou Liang, he again asked for guilt and bribes to surrender to Later Tang, and became a high-ranking official again, in order to show loyalty, Zhang Quanyi took the initiative to remove the name Zong Shuang of Zhu Wenci and requested that his original name Zhang Quanyi be restored.
Since Li Cunxun also established the Later Tang Dynasty to show that he would inherit the Tang Dynasty's Jiangshan, Zhang Quanyi's request to restore the name given by Tang Zhaozong this time was obviously a flattering move.
Zhang Quanyi had always funded Zhu Wen and Li Keyong as enemies, so Li Cunxun planned to kill his entire family.
Zhang Quanyi knew the danger of his situation, and he bribed Li Cunxun's Empress Liu, so much so that Empress Liu recognized him as her righteous father. Offering thousands of horses and pleading guilty, Li Cunxun soon gained forgiveness.
As a result, Zhang Quanyi was also revered in later Tang, first as the King of Wei, then as the King of Qi, and was appointed shou taiwei, Zhongshu Ling, Henan Yin, and concurrently leading Heyang.
<h1 class="pgc-h-decimal" data-index="08" > After Emperor Mingzong of Tang Dynasty Li Siyuan</h1>
Li Siyuan
In Li Cunxun's later years, the power of his adopted son Li Siyuan gradually became very large, and he had the intention of replacing him.
Zhang Quanyi saw that Li Siyuan's power was developing, so he tried his best to seduce him and wanted to benefit his descendants.
At this time, there was a mutiny in Weizhou, and Zhang Quanyi tried his best to protect Li Siyuan, and after Li Cunxun hesitated, he still sent Li Siyuan to lead the army.
However, what Zhang Quanyi did not expect was that Li Siyuan actually counterattacked back with the mutinous soldiers.
After hearing this ominous news, Zhang Quanyi was worried and fearful, and he was worried all day, could not eat food, could not sleep, and finally fell ill, and soon died of illness at the age of 75.
When Li Siyuan entered Luoyang, he was proclaimed emperor, that is, Emperor Mingzong of Later Tang. After Li Siyuan became emperor, although Zhang Quanyi was already dead, he was still grateful to Zhang Quanyi for recommending him to lead his troops, so it was possible to launch a mutiny and become Emperor Ding. Therefore, he posthumously awarded Zhang Quanyi the title of Taishi and gave him the title of "Zhongsu".
Zhang Quanyi is like a wall of grass in the official field, whichever side the wind blows, he will fall to which side, seeing the wind to make the rudder is his skill, insulting and forbearing dirt is also his strength, and all of this is for survival.