In the civil revolutionary 1848. the city is included in Banska Croatia and ban Josip Jelačić becomes the governor of Rijeka. The struggle for Rijeka between Croatia and Hungary is getting more and more intense, and with the Croatian-Hungarian settlement in 1868. so called. The “Rijeka cloth” established a provisional agreement according to which Rijeka comes under the direct administration of Hungary. It is rapidly developing it into its largest maritime and port emporium. After the collapse of Austria-Hungary in 1918. , Rijeka and Sušak are part of the SHS State with headquarters in Zagreb, but it was soon occupied by the Kingdom of Italy. Considering that Italy did not claim Rijeka before, but left it to Croatia, a transition period begins: D’Annunzi’s occupation in 1919. and the independent state of Rijeka in 1920, so that in 1924 still belonged to Italy. Rijeka is rapidly deteriorating economically and becoming a peripheral town. Sušak is included in the composition of the Kingdom of SHS with headquarters in Belgrade and is growing rapidly with the support of a wide hinterland. Along with neighboring Istria, Rijeka was the first in the world to resist fascism and was part of the anti-fascist front in World War II. After the Italian capitulation in 1943. Rijeka and Sušak were occupied by the Germans and held until May 3, 1945. when they were released. The conclusions of the peace conference in Paris in 1947. , Rijeka was once again returned to its motherland, Croatia, within the framework of the state of Yugoslavia. In 1948 the cities of Rijeka and Sušak are united in the city of Rijeka, which is rapidly developing in various areas. the cities of Rijeka and Sušak are united in the city of Rijeka, which is rapidly developing in various areas. In the industrial structure, the traditional industries of Rijeka are being renewed: shipbuilding, paper factory, oil refinery, production of marine equipment and engines, coking plant, clothing industry, hydroelectric power plant and thermal power plant. There is the development of shipping companies, and the confluence of five major road traffic routes to Zagreb, Ljubljana, Trieste, Pula and Zadar, as well as railways ensure the development of the tertiary sector in Rijeka.