Followed by an influx of Han Chinese including Hakka immigrants from areas of Fujian and Guangdong of mainland China, across the Taiwan Strait. The Spanish also built a settlement in the north for a brief period, but were driven out by the Dutch in 1642.