 The count of Foix formed a coalition of other dissatisfied Catalan nobles, including Arnold Roger I of Pallars Sobirà and Ermengol X of Urgell, and revolted against Peter.Besieged in Balaguer, he was forced to surrender on 22 July and was imprisoned.While the other leaders of the revolt were released the next year, Roger-Bernard languished in an Aragonese dungeon until December 1283, at which time it was politically expedient to free him in exchange for the viscounty of Castelbon in an effort to stave off French aggression in the form of the so-called "Aragonese Crusade."