Caerphilly is a town in the county borough of Caerphilly (county borough), South Wales Wales, located at the southern end of the Rhymney Valley, with a population of approximately 31,000. It is a commuter town of Cardiff and Newport, which are located some 7.5 miles (12 km) and 12 miles (19 km) away, respectively. It is separated from the Cardiff suburbs of Lisvane and Rhiwbina by Caerphilly Mountain. It is traditionally within the county of Glamorgan, on the border with Monmouthshire (historic) and it is the largest town in the county borough of Caerphilly (county borough), which since 2003 has formed part of the lieutenancy area of Gwent (county). The town gives its name to Caerphilly cheese, which originated in the area.