Gregory confirmed a treaty between Sicily and Naples at Villeneuve-lès-Avignon on 20 August 1372, which brought about a permanent settlement between the rival kingdoms, which were both papal fiefs.[4]