The cave is located not far away from the Socerb castle. It is mainly famous for its underground church which is the only one of its kind in Slovenia. According to the legend, a young man had took refuge in the cave when running from his prosecutors and resided here for two years. He was later killed in Trieste. His name was St. Socerb. Pocessions were held in the cave to honour his memory.