World tour Guides: World tour places to Predjama Castle. It is a Renaissance castle built within a cave mouth in southwestern Slovenia. It is located approximately 11 kilometers from Postojna. The castle was first mentioned in the year 1274 with the German name Luegg, when the Patriarch of Aquileia built the castle in Gothic style. The castle was built under a natural rocky arch high in the stone wall to make access to it difficult. It was later acquired and expanded by the Luegg noble family, also known as the Knights of Adelsberg. The castle became known as the seat of Knight Erazem Lueger, owner of the castle in 15th century and a renowned robber baron. He was the son of the Imperial Governor of Trieste, Nikolaj Lueger. According to legend, Erazem came into conflict with the Habsburg establishment, when he killed the commander of the Imperial army Marshall Pappencheim, who had offended the honor of Erazem's deceased friend, Andrej Baumkircher of Vipava. Fleeing from the revenge of the Holy Roman Emperor Frederick III, Erazem settled in the family fortress of Predjama. He allied himself with the Hungarian king Matthias Corvinus and began to attack Habsburg estates and towns in Carniola.
The Imperial forces sent the Governor of Trieste, Andrej Ravbar, to siege the castle. After a long siege, Erazem was betrayed by one of his men and killed. A headstrong and rebellious knight, Erazem rebelled against the Austrian emperor Fredrick III and eventually killed his kinsman. Thus enraged, the Austrian leader commissioned the governor of Trieste to capture and kill Erazem. This is where the impregnability of Predjama Castle was truly put to the test. But it seemed that the soldiers were to have the last laugh. With the strategic placement of a small signal flag, a servant of Erazem was bribed to reveal when his master was in attendance at that place where the elusive knight and even the noblest of men needed to go after consuming lots of cherries and wine: the outhouse. Unfortunately for Erazem, the toilet, situated on the top floor and at the very edge of the castle, was the one place that wasn't so impregnable. When the moment came, the flag was placed there by the treacherous servant. A single cannon ball was launched, and the errant knight was literally caught with his pants down. After the siege and destruction of the original castle, its remains were acquired by the Oberburg noble family. In 1511, the second castle, built by the Purgstall family in the first decade of the 16th century, was destroyed in an earthquake.
In the year 1567, the Archduke Charles of Austria leased the castle to Baron Philipp von Cobenzl, who bought it off after 20 years. In 1570, the current castle was built in the Renaissance style, pressed next to a vertical cliff under the original medieval fortification. The castle remained in such form, virtually unchanged, until the present day. In the 18th century, it became one of the favorite summer residences of the Cobenzl noble family. Both the Austrian statesman Philipp von Cobenzl and the diplomat Count Ludwig von Cobenzl spent time in the castle. In 1810, the castle was inherited by Count Michael Coronini von Cronberg, and in 1846 it was sold to the Windischgrätz family, who remained its owners until the end of World War II, when it was nationalized by the Yugoslav Communist authorities and turned into a museum.