 After his death in 1328, the medieval citadel passed under the influence of different lords and local families, including the Doria, Visconti, and Fregoso.Genoa would reacquire the feudal rights by 1380.Over the next century, control over Ameglia changed hands several times until reaching a certain stability with a definitive acquisition by the Republic of Genoa, in the second half of the 16th century.