 In the Middle Ages it was under the Malaspina and later the Fieschi families.The latter sold the fief to the Republic of Genoa in 1198.After a brief French and Austrian domination in the 18th-19th centuries, it became part of the Kingdom of Sardinia in 1814.