The Delaware, Lackawanna & Western Railroad opened its mainline between Binghamton and Buffalo on a route high above Dansville, on September 17, 1882. The "Dansville Hill" was an impediment to heavy eastbound trains for 81 years, until the mainline was abandoned by the Erie Lackawanna Railroad between Groveland and Wayland in late 1963. A portion of the right-of-way is now used as an access road to a cellphone tower, which has views looking westward down to Dansville and its surrounding area.