The Courthouse was built after the earthquake in 1895 and it was renovated in the early 1950s. In the late 1940s, it was used for the show trials against opponents of the Yugoslav Titoist regime in the Socialist Republic of Slovenia. The most famous were the so-called Rožman trial in 1945, the Nagode trial in 1946 and the Dachau trials in 1947.