The island of Taiwan, also commonly known as Formosa, was partly under colonial rule by the Dutch Republic from 1624 to 1662 and from 1664 to 1668. In the context of the Age of Discovery, the Dutch East India Company established its presence on Formosa to trade with neighboring Ming China and Tokugawa Japan, and to interdict Portuguese and Spanish trade and colonial activities in East Asia.
The Dutch were not universally welcomed, and uprisings by both aborigines and recent Han arrivals were quelled by the Dutch military on more than one occasion. With the rise of the Manchu-led Qing dynasty in the early 17th century, the Dutch East India Company cut ties with Ming China and allied with the Manchu Qing instead, in exchange for the right to unfettered access to their trade and shipping routes. The colonial period was brought to an end after the 1662 siege of Fort Zeelandia by Koxinga's army who promptly dismantled the Dutch colony, expelled the Dutch and established the Ming loyalist, anti-Qing Kingdom of Tungning.