 In 1165 Albenga was allied with Pisa, the principal naval supporters of the Emperor Frederick and the principal enemy of Genoa.But in that year, seeing the opportunity to harm Genoa, Pisa attempted to seize Albenga.On 22 August the Pisan navy attacked with 31 galleys, and the city was captured.