 In their final battle in the Naval Battle of Chek Lap Kok 1810, they surrendered to the Portuguese Navy on January 21 and later accepted an amnesty offered by the Qing Imperial government to all pirates who agreed to surrender, ending their career and allowed to keep the loot that same year.This amnesty allowed only 60 pirates to be banished, 151 to be exiled, and only 126 to be put to death out of her whole fleet of 17,318 pirates.The remaining pirates only had to surrender their weapons.