The Weiden–Oberkotzau railway is a two-track main line railway in Bavaria, Germany. It connects with the Regensburg–Weiden railway in Weiden in der Oberpfalz and runs via Marktredwitz to Oberkotzau, where it joins the Bamberg–Hof railway. The line forms part of a long-distance route from Munich to Hof, continuing to Leipzig and Dresden. History The line was opened in several sections. The section from Weiden to Wiesau was built by the Bavarian Eastern Railway Company (Bayerischen Ostbahnen) as part of a connection from Regensburg to Cheb (German: Eger) and operated by it until it was nationalised in 1876. The section from Weiden via Wiesau and continuing to Mitterteich was opened to traffic on 15 August 1864. After the opening of the link from Mitterteich to Cheb on 15 October 1865 and the opening of the link from Hof to Cheb on 1 November 1865, it was possible to travel by train from Regensburg to Hof—but only with the detour via Cheb, which is located in Bohemia and at that time belonged to the Austro-Hungarian Empire and is now in the Czech Republic. A connection was opened to Markt Redwitz on 15 August 1877. The Markt Redwitz—Nuremberg section of the Nuremberg–Cheb railway was opened on 15 August 1878. This line was extended to Cheb in 1883. The gap between Wiesau and Marktredwitz on Bavarian territory was closed on 1 June 1882, completing the current Weiden–Hof route. Opening dates Weiden–Wiesau (–Cheb): 15 August 1864 Holenbrunn–Oberkotzau: 15 August 1877 Marktredwitz–Holenbrunn: 15 May 1878 Wiesau–Marktredwitz: 1 June 1882 The line was single-track until 1900. The duplication of the line caused problems in Groschlattengrün station, which was located in the village of Pechbrunn next to the local basalt works and could not be moved. On 30 and 31 October 1900, the entrance building was therefore removed from its foundations, raised by four centimetres and moved by ten metres. During this work, operations continued, even in the station building, without any significant interruptions. There was a serious railway accident at the southern entrance to Marktredwitz station on 9 July 1939. A D 25 express from Munich to Berlin Anhalter Bahnhof continued over the Drei-Bögen-Brücke (three-arch bridge) into stationary freight wagons, which had detached from a preceding freight train. The train’s two locomotives, Prussian P 8 38 2145 and 38 2401, and the first carriages of the train were derailed and fell from the bridge. Until the end