As part of a programme of construction authorised on the 3 August 1869 by the Bavarian state government, the
Bavarian Eastern Railway Company (known as the Bavarian
Ostbahn) began work on a project that year for a railway link between Mühldorf and Plattling. Together with the
Rosenheim–Mühldorf railway, owned by the
Royal Bavarian State Railways (K.Bay.Sts.B), and the
Bavarian Forest railway, also planned by the
Ostbahn and which would form a junction north of Plattling, this was to provide a trans-regional link between the
Inn valley and
Bohemia. The licence for the construction eventually went to the
Ostbahn on 25 November 1872, work beginning that same year. Under the direction of chief engineer, Ludwig Fromm, and architect, Karl Zenger, the 80.8 km long link from Mühldorf to Plattling was able to be completed in just under three years. The opening of the largely single-tracked main line, the trackbed of which was laid for two tracks along certain stretches in expectation of the likely rise in demand for rail services, took place on 15 October 1875. Between Pilsting and
Landau, today part of the route from Landshut to Plattling, a second track was laid from the outset. On 1 January 1876 the route was incorporated, along with the entire
Ostbahn company, into the K.Bay.Sts.B. In the following years several branches were built: the
Landshut–Pilsting link, which opened on 15 May 1880, the
Neumarkt-Sankt Veit–Landshut railway, which went into service on 4 October 1883, and the
Rottalbahn initially finished on 1. September 1879 as far as
Pocking and finally extended all the way through to
Passau by 6 October 1888. The expected trans-regional significance of the railway link never materialised; traffic between
Tyrol and
Bohemia was largely routed via Munich. The section from Pilsting to Plattling, however, gained significance as part of the (Munich–)Landshut–Plattling(–Passau) route and its operations were immediately aligned to it. The route between Mühldorf and Neumarkt-Sankt Veit soon proved to be of regional importance for both passenger and goods traffic, thanks to the branches to Landshut and Pocking/Passau. The Neumarkt-Sankt Veit–Pilsting section never had high numbers of passengers, however, due to the relatively sparse population, railway stations that were sometimes a long way from the villages and trade links that were oriented towards Landshut rather than following the railway route. With the rise of private motor car ownership from the 1950s the
Deutsche Bundesbahn (DB) recorded an increasing reduction of the already low traffic volumes between Neumarkt-Sankt Veit and Pilsting. Various rationalisation measures were implemented, including the formal relegation of the Neumarkt-Sankt Veit–Pilsting section from a main line to a branch line in 1964. Nevertheless, the profitability of this section of the line continued to be inadequate. With the approval of the Federal Transport Ministry the DB closed local passenger services (
SPNV) between Frontenhausen-Marklkofen and Pilsting as well as goods traffic between Frontenhausen-Marklkofen and Griesbach on 29 September 1969. With the cessation of goods transportation between Griesbach and Pilsting on 13 December 1969, the Frontenhausen-Marklkofen–Pilsting section was finally completely closed. The trackage there was dismantled in the years that followed. SPNV services did not continue for much longer between Neumarkt-Sankt Veit and Frontenhausen-Marklkofen; the last passenger train worked the line on 27 September 1970. By contrast, the factory of car suppliers,
Mann+Hummel, based in Marklkofen, provided well-laden trains for many years, before the firm transferred its operations from road to rail in the 1990s for various reasons. The only regular user of the Neumarkt-Sankt Veit–Frontenhausen-Marklkofen section since then is a joint regional refuse union that transfers household rubbish into containers in Marklkofen and dispatches it by rail to a refuse
incineration plant at
Burgkirchen. A sister firm of the company that runs the plant, Max Aicher, has also been the railway infrastructure company for the aforementioned section of the line since 2008. The southern section, Mühldorf–Neumarkt-Sankt Veit, has been closely linked, operationally, with lines branching off in Newmarkt since the end of the 19th century and is used by trains working the Mühldorf–Landshut and Mühldorf–Passau routes. After the privatisation of the Deutsche Bundesbahn this section of the line was transferred to the
SüdostBayernBahn division of the
Deutsche Bahn. Since 28 September 2008 the points and signals on the line have been fully remotely controlled by the electronic
signal box at Mühldorf. == Operations ==