Swansea, officially known as the City and County of Swansea, is a coastal city and county in Wales. It is Wales's second largest city and the UK's twenty-sixth largest city. Swansea lies within the historic county boundaries of Glamorgan. Situated on the sandy South West Wales coast, the county area includes the Gower Peninsula and the Lliw uplands. The City and County of Swansea had a population of 239,000 in 2011, making it the second most populous local authority area in Wales after Cardiff. During its 19th-century industrial heyday, Swansea was a key centre of the copper industry, earning the nickname 'Copperopolis'.