The Erie Canal, in New York state (shown below), was 360 mi (580 km) long, and connected New York with the Great Lakes via the Hudson River. Locks were built to overcome the 571-ft (174-m) difference between the level of the river and that of Lake Erie. It opened in 1825.