The railway line and the Crown Prince William Bridge were built during the First World War, for military and strategic reasons, by the Prussian state railways and opened on 15 August 1918. Also built at the same time were the Ludendorff Bridge at Remagen, together with a connection to the Ahr Valley Railway and the Hindenburg Bridge at Rudesheim, together with a connection to the Nahe Valley Railway.