The Gaines and State Line Rail Road Company was incorporated on November 4, 1875 in Pennsylvania. It was intended as another outlet for the RH&PC, to run from a connection at the state line through Potter and Tioga Counties to West Branch Township, Pennsylvania. On November 12, 1875, the Geneva & Southwestern Ry. was consolidated with the Geneva, Southwestern & Hornellsville Ry. to form The Geneva and Hornellsville Railway. The Geneva & Hornellsville Ry., Gaines & State Line RR, and Rochester, Hornellsville & Pine Creek RR were consolidated on January 13, 1876 to form The Geneva, Hornellsville and Pine Creek Railway Company.