From 1861 until 1964, a railway line connected Pontardawe with the rest of the valley and further afield. The Swansea Vale Railway (SVR) was founded in 1845 to develop and extend the short tramroad which had been opened nearly 30 years earlier to transport the coal down the lower part of the valley to the Swansea docks. It was extended to Pontardawe and Ystalyfera in 1861, and to Brynamman in 1863. On 1 October 1873, the SVR opened a branch from Ynysygeinon, near Ystalyfera, to Coelbren on the Neath and Brecon Railway, thereby connecting Pontardawe for the first time to the national rail network.