La Rocca received its current name during the Middle Ages, when it became the seat of the governors on behalf of the pope, the Rectors. The castle is actually made up of two separate buildings: the Tower, built by the Lombards starting dall'871, and the Palace of the Governors, built by the popes from dal1320.