Illyrian Provinces
Between 1809 and 1813, it was a border town between the French-administered Illyrian Provinces and the Austrian Empire. In the mid-19th century, it became an important center of the Slovene national revival; in 1869, it hosted one of the first mass rallies in favor of a United Slovenia.