In the early 17th century, the Dutch East India Company established a commercial post at Fort Zeelandia (modern-day Anping, Tainan) on a coastal sandbar called "Tayouan", after their ethnonym for a nearby Taiwanese aboriginal tribe, possibly Taivoan people, written by the Dutch and Portuguese variously as ''Taiouwang'', ''Tayowan'', ''Teijoan'', etc. This name was also adopted into the Chinese vernacular (in particular, Hokkien, as ) as the name of the sandbar and nearby area (Tainan). The modern word "Taiwan" is derived from this usage, which is written in different transliterations ( and ) in Chinese historical records. The area occupied by modern-day Tainan was the first permanent settlement by both European colonists and Chinese immigrants. The settlement grew to be the island's most important trading centre and served as its capital until 1887.