Rubuta ci gaba ga wannan sakin layi - A lokacin juyin juya halin Hungary na 1848
, lokacin da Hungary ta yi ƙoƙarin samun 'yanci daga Austria, sojojin Croatia (masu aminci ga Austria) da Ban Josip Jelačić ya ba da umurni suka kama Rijeka. Daga nan ne aka haɗa birnin kai tsaye zuwa Croatia, kodayake ya ci gaba da samun 'yancin kai. An mayar da Rijeka zuwa mulkin Hungary kai tsaye a cikin 1868 tare da yarjejeniyar Croatian-Hungarian Settlement, yana sabunta matsayinta a matsayin "corpus separatum" (Hungarian "tsibiri" a cikin Croatia). An bayyana matsayin garin tare da wani shafi na daban ga yarjejeniyar sasantawa, wanda ake kira "Rijeka patch" ("Riječka krpica" a cikin Croatian).