During the 19th century in the US, the length of canals grew from 100 miles to over 4,000, with a complex network making the Great Lakes navigable, in conjunction with Canada, although some canals were later drained and used as railroad rights-of-way.