 It has a border crossing with Slovenia at Pesek (Kozina on the Slovenian side).Another crossing is located in the village of Crociata di Prebenico, Caresana, with the Slovenian village of Osp in the Municipality of Koper.From mid 18th century to 1918, the area was under the Habsburg Empire.