It was once capital of the County of Urgell. It is the site of the Bishop of La Seu d'Urgell, one of the Andorran coprinces.