The line runs along part of the trackbed of the northern section of the former 56.5in Brecon and Merthyr Railway from Pant to a new station at Torpantau, via Pontsticill and Dolygaer, a total of about 4 miles .