 In 812, Count Odilo of Girona (which included Besalú and Empúries) died and the county also passed to Bera.In 804 and 805, Borrell participated in the expeditions to Tortosa, but not in the subsequent campaigns of 807, 808, and 809.On Borrell's death in 820, Osona was given to Rampon and Urgell and Cerdanya went to Aznar Galíndez.