The region known as the Taipei Basin was home to Ketagalan tribes before the eighteenth century. Han Chinese mainly from Anxi and Tong'an of Southern Fujian as well as smaller groups of Hakkas of Qing dynasty China began to settle in the Taipei Basin in 1709.