 He extended his authority over the churches of Sant Joan de les Abadesses and Lagrasse and usurped the "de facto" supremacy in Catalonia from Borrell II of Barcelona.In 988, Oliba Cabreta retired to the monastery of Montecassino and divided his lands between his three sons, the second-born, Wilfred, receiving Cerdanya and Conflent.In 1002, Berga was annexed to Cerdanya.