Complex sentence: Opened by the Leeds and Thirsk Railway on 1 June 1848, it was taken over by the North Eastern Railway, which became part of the London and North Eastern Railway during the Grouping of 1923.
Split into simpler sentences: Opened by the Leeds and Thirsk Railway on 1 June 1848. It was taken over by the North Eastern Railway, which became part of the London and North Eastern Railway during the Grouping of 1923.