The Wanfried Agreement (German: Wanfrieder Abkommen) concerned a transfer of territory between the U.S. and Soviet occupation zones after World War II in Hesse, Germany, which took place after the determination of the main inner German border at the end of July 1945.
This situation caused disruptions of traffic on the line, which was important to the U.S. as a link between its occupation zone in southern Germany and a small U.S.-controlled exclave at the port of Bremerhaven on the North Sea.
On September 17, 1945, an agreement was signed in the town of Wanfried between the American and Soviet authorities moving the border to resolve the problem.
After the agreement was concluded, the participating officers exchanged flasks of whisky and vodka, and from then on the railway line was known jokingly in German as the Whisky-Wodka-Linie.
The Hessian villages of Asbach-Sickenberg, Vatterode, and Weidenbach/Hennigerode (Kreis Witzenhausen) with 429 inhabitants and 7.61 square kilometres of land fell in Soviet territory.