Following this successful campaign, Shi Lang returned to the Chinese mainland and worked hard to persuade the Kangxi Emperor to make Taiwan part of China's recognized territory. At the time, there was opposition among many within the Qing government toward the annexation of Taiwan, arguing that its maintenance would become an economic burden on the empire. However, the Kangxi Emperor accepted Shi Lang's views, and in 1684 Taiwan was divided into three counties and established as a prefecture of Fujian province.