Provence, and Erlin of Béziers. Several Visigoth (hispani) nobles had accused the Counts of Frankish paternity and of imposing unjust tributes and excises on their lands. The Magnates defence was unsuccessful and Charlemagne decided in favour of the claimants Second truce and downfall Around 813, Count Odilo of Girona and Besalú died and these Counties passed to Bera. In 815, the truce with the Caliphate was broken and the war with the Muslims resumed. The Muslim army under the command of Ubayd Allah Abu Marwan, uncle of the Emir Al-Hakam I, attacked Barcelona. However, the attack was beaten back by a mercenary Visigothic army. This victory increased the prestige of Bera, whose relationships with the local Visigoth nobility improved. In November 816, the Wali of Zaragoza travelled to Aachen and negotiated a new three-year truce, which was finally concluded in February 817. However, despite attempts to secure alliances in Pamplona, the Basques remained allied to the Banu Qasi family based in the valley of the River Ebro. They continued to defy Frankish authority, as did Aragón, where the Count was allied with the Basques. Gaucelm and his brother Bernard both claimed that the truce promoted by Bera was against the Empire's best interests and inhibited attempts to force the Basques and Aragón to recognise themselves as vassals of the Empire. In February 820, a general assembly was held in Aachen at which Bera was in attendance. Gaucelm sent his Visigoth lieutenant Sanila in his place, who accused Bera of infidelity and perfidy. The litigation, as was customary in that era, was settled by a duel in the palace. Bera was defeated by Sanila and deprived of his counties. However Emperor Louis I, who did not believe the Count was a traitor, commuted the death penalty carried by the defeat into an exile in Rouen. He remained there until his death in 844. He was succeeded as Count of Barcelona by Rampon. References 8th-century births 844 deaths Nobility of the Carolingian Empire Counts of Barcelona Counts of Girona 9th-century people from the County of Barcelona 9th-century Visigothic people Counts of Razès