Prior to the significant influx of Han Chinese immigrants, the region of Taipei Basin was mainly inhabited by the Ketagalan plains aborigines. The number of Han immigrants gradually increased in the early 18th century under Qing Dynasty rule after the government began permitting development in the area. In 1875, the northern part of the island was incorporated into the new Taipeh Prefecture.