康熙帝
Kangxi Emperor of the Qing dynasty assigned Yao Qisheng as Viceroy of Fujian in 1678. Yao Qisheng assisted Kangxi Emperor to execute the Sea Ban order: "No ship is allowed to enter the water." () until 1683, to weaken their economy so cut off all the connection of trade with Tungning Kingdom. By 1683, Kangxi Emperor had stopped all attempts at negotiation with Tungning. Yao Qisheng also recommended Shi Lang as the commander-in-chief of the Qing navy, then Kangxi Emperor agreed and sent Admiral Shi Lang with a force of about 21,000 men and 240 warships to invade Tungning. Shi Lang attempted to attack Penghu before a major hurricane would strike but was driven back by Liu Guoxuan. After the hurricane, Shi Lang regrouped his forces and was ready to strike again.