Koxinga was a loyalist of China's Ming dynasty, which had fallen in 1644 to Manchu invaders who had set up the Qing dynasty. He harrassed the Manchus on land and sea from his family's home base in Fujian province and then, taking 25,000 men and hundreds of warships, relocated his headquarters across the sea in Taiwan, then held by the Dutch. After a siege of 10 months, he expelled the westerners; his pirate kingdom on Taiwan would last for 20 years before finally falling to forces from mainland China.