 The funicular was built in 2006, but the idea about the connection between the city and the castle goes back to the end of the century, when Ivan Hribar was mayor of Ljubljana.The funicular rises up the hill along the wall that connected the medieval city with the castle.The length of the tracks between the lower station in Krekov and the upper station in Ljubljana Castle is 117.69 meters.