Guifred le Velu
At the end of the ninth century, Wilfred the Hairy established military positions in Cardona, Osona, Berguedà and in the Vall de Lord. Possibly the border of the county was then to the north of the city of Solsona, marked by the castle of Besora.