During the reign of the emperor Kangxi (1662-1722), the general Shi Lang defeated the Zheng clan of Ming loyalists in Taiwan and wrote a memorial to the emperor explaining the strategic importance of Taiwan to China's coastal defense.
康熙年間，施琅擊滅試圖反清復明的鄭氏家族後，上奏〈台灣棄留疏〉，剖析台灣在海防的重要性，清朝才將台灣收入版圖，設置郡縣。