It is the fourth-largest city in Corsica ( after Ajaccio , Bastia , and Porto-Vecchio ) , with a population of 6,329 inhabitants in 1999 . It is the fourth-largest commune in Corsica ( after Ajaccio , Bastia , and Porto-Vecchio ) .