 The treaty envisioned a cross-border barrage system between the towns of Gabčíkovo, Czechoslovak Socialist Republic (now Slovak Republic) and Nagymaros, People's Republic of Hungary (now Hungary).The dams would eliminate regular flooding (like the disastrous ones of 1954 and 1965) and provide a clean source of electric power.They would also allow year-long navigability of the river and serve as a part of the Rhine-Main-Danube Canal system of inland navigation.