In 1347 , at the time of Rienzi 's unfortunate enterprise in reviving the Roman republic , Perugia sent ten ambassadors to pay him honour ; and , when papal legates sought to coerce it by foreign soldiers , or to exact contributions , they met with vigorous resistance , which broke into open warfare with Pope Urban V in 1369 ; in 1370 the noble party reached an agreement signing the treaty of Bologna and Perugia was forced to accept a papal legate ; however the vicar-general of the Papal States , Gérard du Puy , Abbot of Marmoutier and nephew of Gregory IX , was expelled by a popular uprising in 1375 , and his fortification of Porta Sole was razed to the ground .
In 1347 , at the time of Rienzi 's unfortunate enterprise in reviving the Roman Republic , Perugia sent ten ambassadors to pay him honour ; and , when papal messengers sought to force it by foreign soldiers , or to exact contributions , they met with vigorous resistance , which broke into open warfare with Pope Urban V in 1369 ; in 1370 the noble party reached an agreement signing the treaty of Bologna and Perugia was forced to accept a papal legate ; however the vicar-general of the Papal States , Gérard du Puy , Abbot of Marmoutier and nephew of Pope Gregory IX , was expelled by a popular uprising in 1375 , and his fortification of Porta Sole was razed to the ground .