Input (grade 13): In 1683, after the Battle of Penghu, Zheng Keshuang gave in to Qing demand of surrender, and his kingdom was incorporated into the Qing Dynasty as part of the Fujian Province.
Output (grade 4): In 1683, after the Battle of Penghu, Zheng Keshuang gave himself up to the Qing.