Schenectady, New York a route through the pine barrens between them. Developers in Schenectady quickly founded the Utica & Schenectady Railroad, chartered in 1833; Schenectady & Susquehanna Railroad, chartered May 5, 1836; and Schenectady & Troy Railroad, chartered in 1836, making Schenectady "the rail hub of America at the time" and competing with the Erie Canal. Commodities from the Great Lakes areas and commercial products were shipped to the East and New York City through the Mohawk Valley and Schenectady. The last slaves in New York and this city gained freedom in 1827, under the state's gradual abolition law. The law first gave
Erie Canal which is navigable upstream to the New York Barge Canal's Black Rock Lock and thence to the Canal's original "Western Terminus" at Buffalo's Inner Harbor. The growth of railroads and highways across the state, and the opening of the Saint Lawrence Seaway, caused commercial traffic on the canal to decline dramatically during the second half of the 20th century. In 1992, the New York State Barge Canal was renamed the New York State Canal System (including the Erie, Cayuga-Seneca, Oswego, and Champlain canals) and placed under the newly created New York State Canal Corporation, a subsidiary of the New York