After their fall, it became part of the Republic of Venice which had a marine base here. In 1526 it was sacked by the Landsknechts. Under the Lombardy-Venetia, it was an Austrian administrative center: in 1848 it revolted against them in the wake of the first Piedmontese victories in the First Italian War of Independence.