Porthmadog known locally as "Port", and historically rendered into English as Portmadoc, is a small coastal town and community in the Eifionydd area of Gwynedd, in Wales. Prior to the Local Government Act 1972 it was in the administrative county of Caernarfonshire. The town lies 5 miles (8 km) east of Criccieth, 11 miles (18 km) south west of Blaenau Ffestiniog, 25 miles (40 km) north of Dolgellau and 20 miles (32 km) south of Caernarfon. It has a population of 4,187. The town developed in the 19th century as a port exporting slate to England. Since the decline of the slate industry it has become an important shopping centre for the surrounding area and a popular tourist destination. It has easy access to the Snowdonia National Park and is the terminus of the Ffestiniog Railway. In 1987 the National Eisteddfod was held in Porthmadog.