Dunedin (/dʌˈniːdɪn/ ⓘ[10][a] duh-NEE-din; Māori: Ōtepoti) is the second-largest city in the South Island of New Zealand (after Christchurch), and the principal city of the Otago region. Its name comes from Dùn Èideann ("fort of Edin"), the Scottish Gaelic name for Edinburgh, the capital of Scotland.[12] The city has a rich Māori, Scottish, and Chinese heritage.[13] With an estimated population of 134,600 as of June 2023, Dunedin is New Zealand's seventh-most populous metropolitan and urban area.[9] For cultural, geographical, and historical reasons, the city has long been considered one of New Zealand's four main centres.[b] The urban area of Dunedin lies on the central-eastern coast of Otago, surrounding the head of Otago Harbour. The harbour and hills around Dunedin are the remnants of an extinct volcano. The city suburbs extend out into the surrounding valleys and hills, onto the isthmus of the Otago Peninsula, and along the shores of the Otago Harbour and the Pacific Ocean.