In 1690 the town was once again occupied by the French general Catinat, but just one year later Victor Amadeus II of Savoy brought it back among Piedmontese possessions. While its defence buildings were being demolished and its strategic role was progressively decreasing in importance, the town could finally develop agriculture and commerce, mainly of hemp and ropes, which were exported in great quantity to Liguria and southern France. The characteristic of both agricultural and commercial site remained important until after World War II, which caused a massive immigration and a rapid urbanistic expansion.