In 1786, the Qing-appointed Governor of Taiwan, , discovered and suppressed the anti-Qing Tiandihui (Heaven and Earth Society).
Lin Shuangwen, and other Tiandihui leaders had started a rebellion which at first was successful, and as many as 300,000 took part in the rebellion.