The first instance that Taiwan had any relations with mainland China was in the Penghu islands. For military reasons, they were claimed by China as its territory during the Yuan dynasty. At the time there were also fishing folk that came here in scattered groups to open up land, but it was during the Ming-dynasty that a greater number of Han Chinese people came to Taiwan.
台灣跟大陸最早發生關係是在澎湖群島，基於軍事的原因，元時已被中國納入版圖，當時也有漁民零星地來此拓墾，但較多漢人來台還是在明代。