The County of Pallars or Pallás[1] (Catalan: Comtat de Pallars, IPA: [kumˈtad də pəˈʎas]; Latin: Comitatus Pallariensis) was a de facto independent petty state, nominally within the Carolingian Empire and then West Francia during the ninth and tenth centuries, perhaps one of the Catalan counties,[2] originally part of the Marca Hispanica in the ninth century. It was coterminous with the upper Noguera Pallaresa valley from the crest of the Pyrenees to the village of Tremp, comprising the Vall d'Àneu, Vall de Cardós, Vall Ferrera, the right bank of the Noguera Ribagorçana, and the valley of the Flamicell. It roughly corresponded with the historic region of Catalonia called Pallars. Its chief city was Sort.