Škofja Loka Castle stands on a hill above the town and houses the Loka Museum. It is first mentioned in documents in 1202. After the earthquake of 1511 badly damaged it, it was rebuilt.
Photo: Petar Milošević, CC BY-SA 4.0, Wikimedia Commons (https://commons.wikimedia.org/wiki/File:%C5%A0kofja_Loka_Castle_(%C5%A0kofjelo%C5%A1ki_grad,_Slovenija).jpg)