In 1661, facing attacks by overseas Ming loyalist forces, the Qing government adopted a policy of clearing the shore line, which ordered all people residing along the coast of Zhejiang to the border with Vietnam to move 25 kilometers inland and guards were positioned on the coast to prevent anyone from living there.