 In 1227, it became an independent commune but, after a short seigniory of the Malocello, it was sold to the Republic of Genoa in 1290.In 1525, Hugo of Moncada, admiral of emperor Charles V, was defeated here in a naval battle and taken prisoner.Varazze followed the history of Genoa until it was captured by French troops in 1798.