The story
The Carnarvonshire Railway was authorised by the Carnarvonshire Railway Act 1862 (25 & 26 Vict. c. ccii). It was absorbed into the LNWR in 1869. At the grouping of the railways in 1921 the LNWR became part of the LMS.
At Afon Wen, a junction connected with the Cambrian Line (GWR) to Pwllheli in one direction and to Porthmadog in the other, with the LNWR (and later LMS) having running rights to both. The line had two branches, one from Caernarfon to Llanberis, which was built by the Carnarvon and Llanberis Railway and the other from Penygroes to Nantlle. The latter originally formed part of the narrow gauge Nantlle Railway, which between Penygroes and Caernarvon had been incorporated into the Carnarvonshire Railway by the Carnarvonshire Railway (Nantlle Railway Transfer) Act 1867 (30 & 31 Vict. c. clii) and converted to standard gauge.
From Wikipedia’s article on Carnarvonshire Railway, shared under CC BY-SA 4.0.3