Ligurian Republic
It was sacked by French troops in 1796. The following year it was annexed to the Ligurian Republic. After the fall of Napoleon Bonaparte, it became part of the Kingdom of Sardinia-Piedmont.