Complex sentence: In the books it is known as the S&M and was built when railway-mania was still in force, opening in 1853.
Split into simpler sentences: In the books it is known as the S&M. The railway line was supposedly built when railway-mania was still in force and was opened in 1853.