During World War II, the development of the network was a priority for the German occupation forces, as part of the creation of Festung Norwegen. Several lines were extended or constructed, with mostly poor quality results. In particular, the Nordland Line was extended a long distance to Dunderland, the Flåm Line was opened in 1941, and the entire Sørlandet Line was completed at Stavanger in 1944.