 The Emperor Charles V organized an alliance of Italian cities and states, to defend Piedmont from the incursions of the French, and Albenga became a member of that league.In 1525 King Francis was defeated at the Battle of Pavia and taken prisoner.But for the next two centuries and more, the struggle continued over the possession of Liguria and the Piedmont.