Complex sentence: The town is just off the North Wales Coast railway line which was opened as the Chester and Holyhead Railway in 1848, became part of the London and North Western Railway in 1859, and part of the London, Midland and Scottish Railway in 1923.
Split into simpler sentences: The town is just off the North Wales Coast railway line which was opened as the Chester and Holyhead Railway in 1848. It became part of the London and North Western Railway in 1859, and part of the London, Midland and Scottish Railway in 1923.