The Taiwanese aborigines, the first to inhabit Taiwan, were entirely reliant on agriculture. The Dutch arrived and colonized the island. Post that, a lot of immigrants began flowing in, including the Hakka immigrants. The Spanish came to try and assert their authority in Taiwan, but the Dutch drove them out. This was followed by the arrival of the Ming and Qing dynasties. After the first Sino-Japanese war, Taiwan went into the hands of the Japanese. After the end of World War II, China took control of Taiwan. In the 1980s, the first direct presidential election was held in Taiwan, post which rapid industrialisation took place.