In 1683, following the defeat of Koxinga's grandson by an armada led by Admiral Shi Lang of southern Fujian, the أسرة چينگ formally annexed Taiwan, placing it under the jurisdiction of Fujian province. The Qing imperial government tried to reduce piracy and vagrancy in the area, issuing a series of edicts to manage immigration and respect aboriginal land rights.