A part of the royal palace until the 14th century, then a prison + city militia garrison, now a museum.