The Ludwig-Donau-Main-Kanal or Ludwigskanal, is an abandoned canal in Germany. It linked the Danube River at Kelheim with the Main River at Bamberg, connecting the Danube basin with the Rhine basin. The canal is named after King Ludwig I of Bavaria, and was built between 1836 and 1846. The canal had a narrow channel, with many locks, and a shortage of water in the peak section, so the operation of the waterway soon became uneconomic — especially given the rapidly advancing construction of the railway network in the southern German countryside. The canal was finally abandoned in 1950, rather than repair the damage suffered during World War II.