Original: The Main flows through the German states of Bavaria, Baden-Württemberg (forming the border with Bavaria for some distance) and Hesse.
Simplified: It flows through the Bundesländer (states) of Bavaria, Hesse and 25 Kilometers along the border of Bavaria with Baden-Württemberg.