Porthcawl (English: , Welsh: [pɔrθˈkaul]) is a town and community on the south coast of Wales in the county borough of Bridgend, 25 miles (40 km) west of the capital city, Cardiff and 19 miles (31 km) southeast of Swansea. Historically part of Glamorgan and situated on a low limestone headland on the South Wales coast, overlooking the Bristol Channel, Porthcawl developed as a coal port during the 19th century, but its trade was soon taken over by more rapidly developing ports such as Barry.