Taipei is the capital and a special municipality of Taiwan (officially the Republic of China, ROC). Located in Northern Taiwan, Taipei City is an enclave of the municipality of New Taipei City that sits about 25 km (16 mi) southwest of the northern port city of Keelung. The city proper is home to an estimated population of 2,646,204 (2019).