Wilfred the Hairy
The county of Cerdanya has its origin in the Spanish Marches established by Charlemagne. In the 9th century Cerdanya was one of the lordships united in the person of the counts of Barcelona, who were also counts of Girona, Narbonne and Urgell. Wilfred the Hairy (count 870–897) had three sons and established the youngest, Miron (died 927), as Count of Cerdanya, a sovereign state.