County of Urgell
The original territory was made up of the Alt Urgell, also known as Urgellet from the end of the 12th century onwards, with the see at La Seu d'Urgell. From 839 onwards it would include 129 villages, the valleys of the Valira river, namely Andorra and Sant Joan Fumat, the Segre riverine area as well as the valleys located between El Pont de Bar and Oliana.
Its maximal extension territory was between the Pyrenees and the taifa of Lleida, that is, the current comarques of Alt Urgell or Urgellet, Noguera, Solsonès, Pla d'Urgell, Baix Urgell and the still independent country of Andorra. The historical capital was first la Seu d'Urgell and later Balaguer. The county of Urgell was extinguished and absorbed by the Crown of Aragon in 1413 as a part of the Principality of Catalonia, after the revolt of the last count, James II of Urgell, against the king Ferdinand I of Aragon.
Sunifred II of Urgell (897-948) died without descendants and the county went to his nephew Borrell II, Count of Barcelona, Girona and Osona. In his testament Borrell II, who died in 992, gave Barcelona, Girona and Osona to Ramon Borrell (992-1017), while Urgell went to Ermengol I (992-1010), so that the Count of Urgell title became separated from the House of Barcelona. Thus the first dynasty of Urgell began with Ermengol I. The first dynasty is also known as Barcelona-Urgell.
- Ermengol I (992 - 1010), son of Borrell II, Count of Barcelona
- Ermengol II (1010 - 1038)
- Ermengol III (1038 - 1065)
- Ermengol IV (1065 - 1092)
- Ermengol V (1092 - 1102)
- Ermengol VI (1102 - 1154)
- Ermengol VII (1154 - 1184)
- Ermengol VIII (1184 - 1209)
- Aurembiaix (1209 - 1231)
In 1231 Countess Aurembiaix died without descendants and the first dynasty became extinguished. After a period of dynastic squabbles Jaume I acknowledged Ponç IV of Cabrera as the successor to the County of Urgell. The second dynasty is also known as Cabrera-Urgell.
- Ponç I (Ponç IV of Cabrera) (1236 - 1243)
- Ermengol IX (1243)
- Àlvar I (1243 - 1267)
- Ermengol X (1267 - 1314)
Ermengol X d'Urgell named his niece Teresa d'Entença as successor to the county. She was married to Alfons el Benigne, son of James II of Aragon. The third and last dynasty is also known as Aragon-Urgell.
Diocese of Urgell
There is also a Roman Catholic diocese of Urgell. The diocese is of ancient origin and traditions of the early Christian church lingered. Felix of Urgel's tendencies towards the heretical position of adoptionism was attacked by Alcuin of York in Contra Felicem.
Andorra was ceded to the bishop of Urgell by the count Ermengol VI of Urgell in the twelfth century. The bishop of Urgell, who since 2003 has been Joan Enric Vives Sicília, is simultaneously joint head of state of Andorra alongside the President of the French Republic.