In 1825 the Erie Canal opened, securing the state's economic dominance. Its impact was enormous: one source stated, "Linking the Atlantic Ocean and the Great Lakes, the canal was an act of political will that joined the regions of the state, created a vast economic hinterland for New York City, and established a ready market for agricultural products from the state's interior." In that year western New York transitioned from "frontier" to settled area. By this time, all counties and most municipalities had incorporated, approximately matching the state's is organized today. In 1831, the Mohawk and Hudson Railroad started the country's first successful regularly–scheduled steam railroad service.