The central point of interest of Ljubljana is the Castle Hill. Excavations testify that the hill was first fortified in the time of the Celts and Illyrians and that the Romans had a military post there. The beginnings of the medieval castle go back to the 9th century, although the castle building is first mentioned only in 1144. At that time it was the seat of the provincial ruler Spanheim, who even minted his own coinage here. It gained its present image after the earthquake of 1511 and with further renovations at the beginning of the 17th century. It was occupied by the provincial rulers until the first decades of the 17th century, later becoming simply a garrison and provincial prison. The castle's renovation is now nearly completed, so that the two wedding suites, the tower, chapel and cafeteria are open to visitors, while the rest of the reconstructed premises are used for occasional performances, exhibitions and social functions. Near the castle stands a monument to the Slovene peasant uprising