Lancaster was a stop on the Erie Railroad line between Hornell and Buffalo and on the main line of the New York Central.