 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.