In 1505, the Porto del Corte was added; the renaissance gateway supports a small terrace and connected the Praetorian Palace with the Foresteria.
Additional ornaments and signage are fixed into the palace's Cobblers' Street wall, testifying to its status during the time it served as the seat of the city podestà (a joint civil and military authority), the Captaincy, and the Grand Council (an assembly of the city's nobility).
The fall of the Venetian Republic to Napoleon I in 1797 caused the palace to lose much of its importance, as the deliberative bodies that had met in it were now defunct.
The palace continued to gradually decay until 1968/1969, when it was rehabilitated in situ, and a restaurant called "Capris" was opened in the ground floor.
After its completion, the palace resumed its historic role as city hall; the offices of the mayor and the municipal council of Koper were relocated to it in May 2001.