Grafschaft Foix
On 19 September 1271, Philip commanded the Seneschal of Toulouse to record oaths of loyalty from nobles and town councils. The following year, Roger-Bernard III, Count of Foix, invaded the County of Toulouse, killed several royal officials, and captured the town of Sombuy. Philip's royal seneschal, Eustache de Beaumarchès, led a counter-attack into the County of Foix, until ordered by Philip to withdraw. Philip and his army arrived at Toulouse on 25 May 1272, and on 1 June at Boulbonne met James I of Aragon, who attempted to mediate the issue, but this was rejected by Roger-Bernard. Philip then proceeded on a campaign to devastate and depopulate the County of Foix. By 5 June Roger-Bernard had surrendered, was incarcerated at Carcassone, and placed in chains. Philip imprisoned him for a year, but then freed him and restored his lands.