Seat of the princes of Nitra and Great Moravian rulers from Romanesque to Baroque times. The first documented work on the castle was in 828.