Complex sentence: The line was opened in 1840 by the LNW/L&Y Joint Railway, and was initially planned and built only to carry stone from the quarries at Tootle Heights in Longridge to Deepdale Road in Preston.
Split into simpler sentences: The line was opened in 1840 by the LNW/L&Y Joint Railway. At first it was used only to carry stone from the quarries at Tootle Heights in Longridge to Deepdale Road in Preston.