The last eunuch in China is named Sun Yaoting, who is the true prototype of the protagonist "Lai Xi" in the movie "The Last Eunuch in China".
The Last Eunuch of China is a Qing Palace costume film. The film is based on the great era of the late Qing Dynasty and the early Ming Dynasty. A humble "little man" had a tragic fate for most of his life.

Sun Yaoting was a direct subordinate of the late Qing Dynasty. When he was a teenager, because his family was poor, he had to accept the fate of being "purified" by his father and entering the Forbidden City as a eunuch.
Sun Yaoting was born in 1902 in Xishuangtang Village, Jinghai District, Tianjin. His original name was Sun Liujin. Sun Yaoting was born into a poor peasant family. His parents have 4 sons, and Sun Yaoting is the second eldest in the family. Sun Yaoting's family is very poor, but his family of 6 has less than 1 acre of grain fields. Because his family has been poor for a long time, many villains in the village dare to bully the Sun family.
Later, a bully in the village robbed Sun Yaoting's grain field and set fire to Sun Yaoting's home. Unable to resist, his father cleaned up Xiao Yaoting and sent him to the palace as a eunuch.
The penniless grandfather could not send his son to a skilled bidet master to complete the cleaning process for his son, so he had to clean Sun Yaoting at home. Due to the lack of good conditions and sanitary conditions, Sun Yaoting developed a high fever for 3 consecutive days and 3 nights and almost died.
Just when Sun Yaoting was about to be sent to Beijing by his father, Yuan Shikai, who had served in the Provisional Government of Nanjing, said softly and hardly that he could give Sun Yaoting a generous donation in order to become president at an early date. The condition is, but the emperor must make his position clear to the outside world. Declare a complete renunciation of the right to rule China.
After that, in order to show respect and compassion for the Qing imperial family, the Nationalist government immediately issued a statement: although the Qing Emperor abdicated, his reputation must still be preserved, and he could temporarily stay in the Forbidden City as usual and move toward the future. In the Summer Palace, the palace guards were retained as usual.
At first, Sun Yaoting was sent to serve Ren Dexiang, the vice governor of Jiutang. When Dexiang was a eunuch, he was also a eunuch, and he had both status and prestige in the palace. Sun Yaoting, who had just entered the palace, had no name and carefully served Ren Dexiang as an "apprentice".
Sun Yaoting originally thought that he would serve his master for the rest of his life, but in 1924, the great warlord Feng Yuxiang expelled Puyi and the imperial family from the Forbidden City. Puyi had no choice but to dismiss the maid and eunuch, leaving Sun Yaoting homeless in the Forbidden City, so he bought several properties with several familiar eunuchs and made a living by collecting rent.
After the establishment of the puppet state of Manchukuo, Puyi's daily life also needed maids and eunuchs to serve, and Sun Yaoting returned to Puyi as a maid.
Soon after the founding of New China, Sun Yaoting was criticized as "the emperor's slave". He expressed his willingness to accept reform. Later, the government arranged work for him to solve sun Yaoting's food and clothing problems. In 1996, at the age of 94, Sun Yaoting died in Beijing.