He Yan, from a poor family since childhood, but he wore the hat of the Eight Flags, so he was idle and became a famous local scoundrel. When he was nineteen years old, his father died, and he was hereditary a third-class lieutenant. Later, he entered Beijing as a third-class bodyguard in the imperial palace. After forty years of qianxia, he survived to the imperial bodyguard and deputy capital, equivalent to the deputy guard captain. This messenger was able to contact the emperor, and with his cleverness and ability to see the wind and make the rudder, he won the favor of the Qian Descending Emperor. In the following year, he was awarded the title of Household Attendant, Minister of Military Aircraft and Minister of the Interior, commander of infantry, and tax inspector of the prime minister's camp affairs.

In the forty-fifth year of the fall (1780), there was a corruption case involving Li Shiyao, the governor of Yunnan, which Qianlong asked and Yan to investigate. He Yan interrogated Li Shiyao's servants and clarified the facts of the case, but He yan knew that Li Shiyao was a person that the emperor liked, so he spoke very euphemistically in front of the emperor. Later, he saw that the emperor really wanted to punish Li Shiyao, so he repeated what the Yunnan official had said about how to abolish Chi and the deficit in the government treasury. Qianlong felt that Hezhen was very capable, and after investigating Li Shiyao, he promoted him to Hubu Shangshu, minister of parliament and governor of the capital. Qianlong was happy, and then mated his daughter and Princess Xiao to Hezhen's son, and Hezhen became a relative of the emperor again.
The Qianlong Emperor treated Hezhen very well. While appointing him as the Shoshu of the Bingbu, he also entrusted the three warehouses of the Hubu to his management. Soon, Yushi Qianyang impeached Shandong Governor Guotai and the envoy Yu Yijian for embezzling money and committing fraud, leaving the treasury of the prefectures and county capitals empty. Qianlong then sent Liu Tang, the imperial envoy of He yan and the capital, to take Qian Yang with him to investigate. While saying that he would seriously investigate and deal with it, he secretly sent his henchmen to Shandong to deliver letters to Cathay Pacific, because he had received a large number of gifts from others before.
He Yan and Liu Tang led Qian Yang and the accounting personnel to the county yinku in Licheng, Shandong Province, to inspect it. I saw that the silver warehouse was clean and tidy, and the silver was wrapped in big red paper, neatly stacked, and after checking the weight one by one, there was no mistake.
Qian Yang noticed that the warehouse was spotless, and the silver bags were all new, obviously just cleaned. And the shape of the silver bag is different from top to bottom. The next day, Liu Yong and Qian Yang suddenly came to check the treasury again, they moved the silver bag above, opened the silver bag below, and sure enough, the difference from the above was a kind of silver ingot, and there was also the mark of Wanli Yinzhuang, so they sent someone to check the accounts of Wanli Yinzhuang, and found out that Wanli Yinzhuang had lent three thousand taels of silver to the county the day before, and the treasurer had to admit that it was the Inspector of Shandong who temporarily borrowed silver two from Yinzhuang to make up the number on the account.
Qian Yang's impeachment of Cathay and Yu Yijian was confirmed, and he watched helplessly as his two friends were executed. After returning to Beijing, He Yan appeared as a meritorious minister who investigated the cases of Guo Qin and Yu Yijian, and the Qianlong Emperor added him the title of Prince Taibao, the president of the Guoshiguan: Lieutenant of Light Vehicles, and Shangshu of the Bureaucracy, and promoted his third-class baron to a first-class baron.
Fast forward to the fifty-first year of Qianlong (1786), Yushi Cao Xibao found that the private residence of the Liu family, a slave of the Yan family, was as beautiful as the imperial palace. At that time, people and their houses, carriages, horses, clothes, etc. were all hierarchical, exceeding the standards set by their own ranks, which was a crime. If you dare to compare it with the emperor's standards, you have to kill your head. Cao Xibao prepared to impeach Liu Quan, but said it after drinking. After hearing this, He Yan, who was in Chengde, hurriedly sent someone back to Beijing and asked Liu Quan to immediately remove all the houses that exceeded the standard, and it was best to build some simple houses in place. The Qianlong Emperor received Cao Bao's recital and asked if Hezhen had anything to do with it. He Yan pretended and said, "Since someone is playing, please check it out with Your Majesty." When Cao Xibao and his party entered the intersection of Liu Jiajia's street, Cao Xibao was stunned. The temple that was really a few days ago is now gone. The Qianlong Emperor had no choice but to dismiss Cao Xibao from his current post and still engage in general work in the original department.
Cao Xibao's heart was in his heart, and he fell seriously ill and died. He Yan, on the other hand, continued to add officials to the knighthood, but Qianlong also thought that Cao Xibao's bullets would not be unfounded, so he dismissed him from this position on the grounds that he had been serving as tax supervisor for eight years. In order to avoid peace with Kandoshin, he was soon promoted from baron of the first class to a third class earl. But the Qianlong Emperor's trust in him had declined.
The Fifty-fifth Year of Qianlong (1790) is the eightieth birthday of Qianlong, and he presided over the celebration of this birthday. Emperor Qian was already very old at this time, but he was in a good mood. He felt that he had been emperor for more than fifty years, the country was rich and strong, the society was prosperous, and the people would appreciate him. However, at this time, Yin Zhuangtu, a cabinet scholar, wrote a letter saying that in the past few years, corrupt officials and corrupt officials have bribed public officials and embezzled state property, and that the officials in various provinces have lax administration and empty government treasuries, and demanded that someone be sent to investigate.
Qianlong asked he yan who to send to go well, and he was guilty of a muttering in his heart. The provincial treasuries were empty, he believed. But because he accepted bribes from many places, he had to protect people at this critical moment. Besides, if those people are shaken out, they will not be able to escape. Now the emperor wants to send someone to investigate, and this candidate is very important. He pondered for half a day and proposed to send Qingcheng. Keiseong was very happy to receive this task, because he understood that there were two methods of investigation. One is real checking, which is easy. Because there must be something wrong with these people. But in doing so, we have offended both the dignitaries of the provinces and the hezhen that covers the sky. Then there is the fake check. In that way, all kinds of valuable gifts will continue to be delivered to his home. In order to reassure Washun, he visited Hezhen's house that night.
Qingcheng delayed for a few days on the pretext of making preparations and selecting suitable personnel, and then led the investigation team and Yin Zhuangtu to Shanxi Datong. The next day, Yin Zhuangtu asked to go to the silver vault. But Qingcheng said that the headache dragged on. On the third day, the government sent someone to invite them, and they went. They checked for a few days, and it was an account check, and it was a library, where did they find the problem?
The same was true everywhere else, and each time, On the grounds of fatigue, Qingcheng spent a few days in a good place there, until he got a hint from a local official and began to check the accounts. Yin Zhuangtu had no choice but to admit that the impeachment was untrue and was sent to the prison of the Punishment Department.
In the first month of the fourth year of Jiaqing (1799), the Qianlong Emperor, who had abdicated as Emperor Taishang, died. At this time, the peasant revolt in Hubei, Sichuan, became more and more intense. The official wrote a letter to The King of The Affair, stating six strategies for suppressing the peasant uprising, the first of which was to demand that Hezhen be punished. The Jiaqing Emperor immediately arrested and interrogated him. Washumi saw that the tide was gone and confessed the accusations against him. The Jiaqing Emperor pronounced the twenty counts of Hezhen and decided to put him to death.
The Jiaqing Emperor ordered the confiscation of hezhen's family property. Many of the houses in Hezhen are built of precious nan wood that can only be used by the imperial palace, some imitating the Ningshou Palace, and some imitating the Yuanmingyuan. His tomb was also called "Heling" by the people in the form of a royal cemetery. His family's big pearl was bigger than the crown. There were not even big gems in the palace, and there were dozens of them in his house. The silver and clothes in the library are equivalent to more than 10 million taels. In the wall, more than 26,000 taels of gold are hidden, and more than 60 million taels of silver are hidden in private treasury. More than three million taels of silver were buried in the cellar. The capital of pawnshops in various places is more than 100,000 taels. His domestic slave Liu Quan alone had more than 200,000 taels of family property. Together, his family property amounted to a billion taels of silver, all of which were confiscated and confiscated. So at that time, there was a saying: He Yan fell, jiaqing was full.