Immediately after the Italian armistice in September 1943, Kobarid was liberated by a Partisan uprising, and became the center of large liberated area of around 2,500 square kilometers, known as the Kobarid Republic, administered by the Liberation Front of the Slovenian People. During this period, almost all Italian families that settled in Kobarid during the 25 years of Italian administration left the town. In early November 1943, Nazi German forces took over the town and established their rule until May 1945, when the town was finally liberated by the Yugoslav People's Army.