In 1866, the New York and Flushing Railroad extended their main line into Great Neck through a subsidiary called the North Shore Railroad, thus transforming it from a farming community into a commuter town. The NY&F was consolidated into the Flushing and North Side Railroad in 1869, only to be merged into the Flushing, North Shore, and Central Railroad in 1874 and leased in 1876 by the LIRR. Throughout much of the late 19th Century, Great Neck was the terminus of what is today the Port Washington Branch of the LIRR. The village was incorporated in 1930, even as the station that led to its existence was being reconstructed. In addition to the railroad station, Great Neck Plaza contains other historic structures, such as the local post office and the Grace and Thomaston Buildings.