In 1342 the Barrême community was attached to the viguerie of Castellane by Robert, King of Naples, the Count of Provence. The death of Queen Joanna I created a crisis of succession for the County of Provence with the towns of the Union of Aix (1382-1387) supporting Charles, Duke of Durazzo, against Louis I of Anjou. Aix submitted in October 1387 which precipitated the rallying of the Carlists under the lord of Barrême, Géraud de Villeneuve. While he had supported Charles de Duras for several years, he joined with his two brothers: the Lords of Gourdon and Roquebrune from Anjou and obtained a "chapter of peace" from Marie de Châtillon on 2 January 1388 and paid homage to Louis II of Naples aged ten. The village community had also supported Charles de Duras and also submitted in 1386.