 The inhabitants moved to a new walled settlement, called "Tabia".Despite its defences, in 889 it was sacked and razed to the ground by the Saracens

The rebuilt burgh became in 1153 a fief of the Clavesana family, but soon later it was acquired by the Republic of Genoa.In 1273 it became an autonomous commune, later receiving a "podestà" named in Genoa, under which it remained until its disappearing in the Napoleonic Wars.