 On 19 September 1271, Philip commanded the seneschal of Toulouse to record oaths of loyalty from nobles and town consuls.The following year, Roger-Bernard III, Count of Foix, invaded the county of Toulouse killing royal officials.Philip's royal seneschal, Eustache de Beaumarchès, led a counter-attack into the county of Foix, until ordered by Philip to withdraw.