Roger-Bernard III (1243 – 3 March 1302) was the Count of Foix from 1265 to his death. He was the son of Roger IV of Foix and Brunissende of Cardona. He entered into conflicts with both Philip III of France and Peter III of Aragon, who held him in captivity for a time. He was nevertheless a distinguished poet and troubadour. Conflict with Philip III His conflict with Philip III was rooted in the longstanding desire of the French monarchy to establish its authority in Languedoc, where, since the 10th century, it had been practically a dead letter. In 1272, Roger-Bernard allied with Gerald VI, Count of Armagnac to attack the lord of Sompuy, who, however, applied for protection to the king. This brought the king and the count into direct opposition. Ignoring the royal command, the two counts went to war. Philip, claiming rights as the heir of his uncle Alfonso of Poitou, invaded Languedoc at the head of a large army. Roger-Bernard fled to his castle at Foix and the Seneschal of Toulouse, Eustache de Beaumarchès, seized his lands. Roger-Bernard, meanwhile, placed himself under the competing protection of James I of Aragon, who endeavoured to negotiate a peace. Roger-Bernard, however, demanded harsh and unacceptable conditions. On 3 June, King Philip began the siege of Foix and on 5 June, the citadel fell by the work of the sappers in tearing down its defensive walls. Roger-Bernard surrendered and was carted off to prison in Carcassonne. The dispute between James and Philip, however, did not immediately abate. The former refused to relinquish what he held on behalf of the imprisoned count. On 8 February 1273, the conflict was resolved and the king of Aragon gave up his claims. Before the end of that year, the count of Foix was released and did homage to the king of France, receiving back a portion of his confiscated lands. Roger-Bernard's relationship with Philip III was thereafter solid, with Philip even considering him his "most loyal and faithful vassal" in December 1277. War of the Navarrese Succession On the death of Henry I of Navarre in 1274, a dispute arose over the succession to that small kingdom. Henry's heir was his daughter Joanna, wife of Philip the Fair, then heir-apparent of Philip III. The Aragonese, however, opposed her succession, which would have put the French in control of Navarre. In order to secure Joanna