[1] It started when the Qing Taiwan governor Sun Jingsui (孙景燧) outlawed the Tiandihui society and arrested Lin Shuangwen's uncles.
[8] By this point, the fighting was drawing in Zhangzhou people beyond just the society members, and activating the old feuds; this brought out Quanzhou networks (as well as Hakka) on behalf of the government.
Under the leadership of Chen Ziyun (陳紫雲), the Qing and Hakka forces battled in Hsinchu and other places.
The governors of Zhejiang and Fujian then sent Fuzhou general Hengrui (恆瑞) and 4,000 troops to Taiwan to help quell the rebellion.
[3][4][5][6][7] Finally, in December 10, the Qing imperial court sent Fuk'anggan to quell the rebellion with a force of 20,000 soldiers, while Hailancha [zh], Counsellor of the Police, deployed nearly 3,000 people to fight the insurgents with the majority from the Green Standard Army and a minority from the Eight Banners.
[3][4][5][6][7] Lin Shuangwen was executed, and the Heaven and Earth Society was dispersed to mainland China or sent into hiding.
The female relatives of the rebel leaders (daughters, wives, concubines) were sentenced to penal transportation and were sent to the northeastern frontier in Ningguta in Heilongjiang to become slaves of the Solon.
The Qianlong emperor and Heshen ordered that sons of rebel leaders under the age of 15 to be taken to Beijing and castrated by the Imperial Household Department to work as eunuch slaves in the Yuanmingyuan (Summer Palace).
This new policy of castrating sons of killers of 3 or more people and rebels helped solve the supply of young eunuchs for the Qing Summer Palace.
The Imperial Household Department immediately castrated the 11 year old Hunanese boy Fang Mingzai to become a eunuch slave in the Qing palace after his father was executed for murder.
[12] The Qing Summer palace, due to this policy of castrating sons of mass murderers and rebels received many young healthy eunuchs.
[14][15] Imposing a penalty of castration upon the sons of rebels and murderers of 3 or more people was part of a new Qing policy to ensure a supply of young boy eunuchs since the Qianlong emperor ordered young eunuchs to be shifted towards the main imperial residence in the Summer Palace.
Norman A. Kutcher connected the Qing policy on obtaining young eunuchs to the observation that young boy eunuchs were prized by female members of the Qing Imperial family as attendants, noted by the British George Carter Stent in the 19th century.
[16][17] Norman Kutcher noted that George Stent said young eunuchs were physically attractive and were used for "impossible to describe" duties by female imperial family members and they were considered "completely pure".
[27][28] A novel was written about her later by Lin Jyan-long[29] During Qianlong's reign, Li Shiyao [zh] was involved in graft and embezzlement.
[4] After the rebellion, local feuds between the Zhangzhou, Quanzhou, and Hakka people appeared only sporadically through the early 19th century, coming to an end in the 1860s.