In 1362, Pietro Farnese was commander-in-chief of the Florentine army against Pisa in the war for Volterra. Six years later Niccolò Farnese saved Pope Urban V from the attack of Giovanni di Vico, first in the castle of Viterbo and then in that of Montefiascone. The loyalty to the Papal cause meant that the Farnese were granted confirmation of their possessions in the northern Lazio and given a series of privileges which raised them to the same level as more ancient and powerful Roman barons of the time, such as the Savelli, Orsini, Monaldeschi and Sforza of Santa Fiora.