Jules Verne, a pioneer of science fiction, set a large part of the plot of his novel Mathias Sandorf from 1885 into Pazin. After the introductory part of the novel, which takes place in Trieste, a rebellious count Mathias Sandorf and his two friends are arrested and imprisoned in the Castle of Pazin. They manage to escape through the window and down the lightning rod into the cave, and are then carried into the underground by the flood. After a while, two rebellions see daylight in the Bay of Lim on the West Coast of Istria. The story leads us all over the Adriatic (Rovinj, Dubrovnik) and further over the Mediterranean (Sicily, Malta, Gibraltar).