A treaty between Austria and Bavaria, signed on 21 June 1851, regulated the access of each state to the other in relation to the building of railways.
Austria committed itself under Article 2 to build a railway from Salzburg to Bruck an der Mur and from Kufstein to Innsbruck.
The narrow gauge Wendelstein Railway ran from Brannenburg station until 1961 when it was cut back to Waching in order to avoid several level crossings.
Non-stop travel time between Rosenheim and the border at Kufstein is 15 minutes, but due to temporary speed restrictions in most cases trains take longer.
Every two hours, Austrian Federal Railways runs Vienna–Salzburg–Innsbruck–Vorarlberg express trains over the line from South Rosenheim to Kufstein, but they do not stop.
These include the elimination of level crossings (most recently at Flintsbach and Brannenburg) and the installation of noise barriers, particularly in towns in the Inn Valley.