In 897, Wilfred the Hairy died and divided his vast Catalan patrimony (technically just a plurality of public offices) between his four sons.
His county comprised Besalú, the Fenouillèdes, Capcir, the Baridà, the valley of Orillas, that of Lillet, the Berguedà, the Ripollés, the Vallespir, the upper plain of Roussillon from Illa de Tet to Sant Esteve del Monasterio, Conflent, the Donasà, and Peyrepertuse.