Complex sentence: It also had a number of branch lines subsequently built inlucding a branch to serve the Cwm Coking Works, and this was the last section of the line to close (in 1987).
Split into simpler sentences: It also had a number of branch lines subsequently built. This included a branch to serve the Cwm Coking Works, and this was the last section of the line to close (in 1987).