Together with the cathedral, the palace is at the heart of the castle. It has been reconstructed several times. Its present, 18th-century, architecture is the legacy of Bishop László Ádám Erdődy. However, judging by its inventory, the functions it served had not changed much with the reconstructions. The palace had representational rooms, the bishop’s bedroom, guest rooms, a dining hall, a panty, a bakery, a kitchen, a library, and an archive. Only the function of the attic changed. Before, it seated the pantry, the archive, and some offices. Ever since a fire broke there up to the beginning of the 20th century, the attic had not been used. In the 20th century it seated the Archeological Institute of the Slovak Academy of Sciences. Since the 1990s it has served as an office and residential section. The palace is open to the public once a year, on Sts. Cyril and Methodius Day.