The opening of the Great Western Railway throughout from London to Bath in 1841 effectively killed the canal and coaching trades, and as the line passed some 25 kilometers to the north it brought no advantage to the town.