Ljubljana Castle

Ljubljana Castle (Ljubljanski grad) is a castle complex standing on Castle Hill above the downtown of Ljubljana, the capital of Slovenia. It is a key element of the Ljubljana skyline. Originally a Medieval fortress, probably built in the 11th century and rebuilt in the 12th century, it acquired its present outline with an almost complete overhaul in the 15th century, whereas the majority of the buildings date to the 16th and 17th centuries. At first a defense structure and since the first half of the 14th century the seat of the lords of Carniola, it was since the early 19th century used as a penitentiary, then in the first half of the 20th century as a residential complex and in the latest times as a tourist attraction and a major cultural venue.

Ancient history
According to archeological surveys, the area of the present castle has been settled continuously since 1200 BC, when the first settlements and later fortifications were built. The hill summit probably became a Roman army stronghold after fortifications were built in Illyrian and Celtic times.

Middle Ages
The first Ljubljana Castle is believed to have been a wooden and stone fortification built in the 11th century. The oldest written mention of Ljubljana Castle is inscribed on a parchment sheet Nomina defunctorum (names of the dead), which is kept by the Udine Cathedral Archive and most probably dates to the second half of 1161. It mentions the nobleman Rudolf of Tarcento, a lawyer of the Patriarchate of Aquileia, who had bestowed a canon with 20 farmsteads beside the castle of Ljubljana (castrum Leibach) to the Patriarchate. According to the historian Peter Štih's deduction, this happened between 1112 and 1125.

Until 1144 the castle became property of the House of Sponheim. In 1256, Ljubljana Castle was mentioned in a document as the most important castle of the rulers of Carniola (castrum capitalis). In the late 1270, it was conquered by King Ottokar II of Bohemia. In 1278, after the defeat of Ottokar, it became property of Rudolph of Habsburg.

In the 15th century it was almost completely demolished and rebuilt with a complete wall and towers at the entrance, where a drawbridge was placed. A chapel was also built at that time. In the 16th and 17th centuries, other objects were gradually built. The castle's purpose was to defend the empire against Ottoman invasion as well as peasant revolt.

Modern period
In the 17th and 18th centuries, the castle became an arsenal. In 1797 the town of Ljubljana and the castle were occupied for the first time by the French army, and again in 1809. In the period of the Illyrian Provinces, the castle was used as barracks and a military hospital. In 1815, back in the Austrian Empire, it became a prison, which it remained until 1895, with a hiatus between 1848 and 1868, resuming that function during World War II. The castle's Viewing Tower dates to 1848; this was inhabited by a guard whose duty it was to fire cannons warning the city in case of fire or announcing important visitors or events.

Because it was not a home of a ruler or another important noble person and because a fortification in the area was no longer required, the castle started to lose its importance. The maintenance costs were too high so the castle began to crumble. In the 19th century, the castle was redesigned partially as a prison and partially as a military stronghold, making it less popular among the citizens. Several famous people were jailed in the castle, including the Italian revolutionary Silvio Pellico, the Hungarian Prime Minister Lajos Batthyany and the Slovene author Ivan Cankar.

In 1905, the castle was bought by Municipality of Ljubljana for 60,200 Kronen, on the explicit wish of the mayor, Ivan Hribar, who planned to establish a city museum in it. The plan was however not carried out. Instead, the city decided to settle poor families into it. The residents stayed there until 1963, when preparations for renovation of the castle began. The remains of the fortifications on Castle Hill were reworked in the 1930s a promenade called Šance, designed by the Slovenian architect Jože Plečnik.

Contemporary history
At the end of the 1960s, the long and extensive renovation works started. The whole renovation took more than 35 years. In the 1990s, the use of the castle as a place for weddings and cultural events began. In 1974 a monument by the sculptor Stojan Batič dedicated to the Slovene peasant revolts (especially to the Slovene peasant revolt of 1515 and the Croatian and Slovenian peasant revolt of 1573) was erected in the vicinity of the castle. The Ljubljana Castle funicular, a funicular railway to the top of Castle Hill, was built in 2006 and brought to service on 28 December 2006.