In 1683, the naval forces of the Ming loyalists on Taiwan—organized under the Zheng dynasty as the Kingdom of Tungning—were defeated off Penghu by 300-odd ships under the Qing admiral Shi Lang. Koxinga's grandson Zheng Keshuang surrendered Tungning a few days later and Taiwan became part of the Qing Empire. Zheng Keshuang moved to Beijing, joined the Qing nobility as the "Duke Haicheng" (), and was inducted into the Eight Banners as a member of the Han Plain Red Banner. His soldiers—including the rattan-shield troops (, "tengpaiying")—were similarly entered into the Eight Banners, notably serving against Russian Cossacks at Albazin.