Complex sentence: In 1850 the Lancashire and Yorkshire added a new line, from Wakefield to Barnsley, and the town acquired a second station, Horbury Junction, about a mile to the east, where trains from the new Barnsley branch joined the existing line.
Split into simpler sentences: In 1850 the town acquired a second station, when the Lancashire and Yorkshire added a new branch from Wakefield to Barnsley. The new station, Horbury Junction, was about a mile to the east, where the Barnsley branched joined the existing line.