of the territories of the Julian March to the Kingdom of Italy, control of the Bohinj Railway between Podbrdo and Trieste became the responsibility of the Ferrovie dello Stato (FS). Under the management of the FS, the main task was the rebuilding of the passenger building according to the original plans. Additionally, the station's name was changed twice, initially to Stazione di Gorizia Nord (), and in 1923 to Stazione di Gorizia Montesanto (). With the entry of Italy into World War II in 1940 and especially during the invasion of Yugoslavia in 1941, the station played an important role in the transport of men and resources directed to the front or back from it. In 1943, the railway premises were occupied by the Germans. German period From 1943 to 1945 the station was operated by the Deutsche Reichsbahn-Gesellschaft. It was a strategic point in the transport of Jews and partisans to concentration camps, including Auschwitz, Mauthausen, Theresienstadt and Risiera di San Sabba. The partisans were captured Slavs usually sent to the Island of Rab or Risiera di San Sabba. Yugoslav period Under the Paris Peace Treaties, 1947, the eastern territories of the province of Gorizia went to Yugoslavia, as did the eastern districts of Gorizia and the railway line between the Bohinj Railway at Podrbrdo and Villa Opicina. The management of the station then passed to Yugoslav Railways, under its Ljubljana division. The square in front of the passenger building was divided between the two states by the so-called Wall of Gorizia. On the pediment of the passenger building, which faced directly towards Italy, was placed a red star, symbol of socialism. Yugoslav Railways renamed the station Železniška postaja Nova Gorica to indicate that a new municipality would be built in the eastern districts of Gorizia, and also rebuilt the line between Gorizia and Montesanto Prvačina. The station's connection with Udine and Trieste was cut at the border near the Gorizia San Marco railway station (Slovene: Železniška postaja Vrtojba), which was placed between the two railway administrations and was located in Yugoslav territory. In 1960, the connection with the Gorizia Centrale railway station was reopened, and a passenger service began operations using FS rolling stock. Slovenian period With Slovenian independence in 1991, the station and railway line passed to Slovenian Railways. In December 1991, the communist red star on the station pediment was modified to represent a Christmas star.