In 1318 there were conflicts with Pisa and the noble Appiani for the control of the castles of Valle and Montioni Vecchio, which resolved with political compromises between the parties with the payment of an annual tribute to the Bishop of Massa.