Raymond I (Catalan: Ramon, Spanish: Raimundo) (fl. 884–920) was the first independent Count of Pallars and Ribagorza from 872 until his death. Early speculation made him a scion of the Counts of Toulouse, but he is certainly the "Count Raymond, son of Count Lupus ... in the country of Pallars" (Regimundo comite, filio Luponi comiti ... in pago Paliarensi) of a 920 document. His father may have been the Basque count Lupus I of Bigorre and during his lifetime Pallars represented the easternmost extent of the Basque language.
Raymond was a local nobleman who in the aftermath of the assassination of Bernard II of Toulouse by partisans of Bernard Plantapilosa (872) seized authority for himself in Pallars and Ribagorza. The exact circumstances surrounding his rise are obscure, but he had probably held lands south of the Pyrenees from the County of Toulouse prior to gaining independence. Neither is it clear what part the leading men of the regions played in his elevation, but after the fact Pallars and Ribagorza were not even nominally attached to Francia.
Raymond immediately made overtures of peace and alliance with the Banu Qasi governors of Huesca and Zaragoza, in 884 even purchasing Zaragoza, only to have it immediately reconquered by the Caliphate. In the end, a policy of Reconquista had to be adopted. Consequentially, his reign saw the encastellation of Pallars of Ribagorza and the proliferation of turres (defensive towers). Castles were built at Leovalles, Castellous, and Lemignano. Raymond also consolidated his de facto independence from any superior authority by creating a new diocese of Pallars, enabling himself to control the local church. Raymond also established an alliance with the Jiménez dynasty of Navarre. He married his sister Dadildis to García Jiménez of Pamplona, and in 905 he collaborated with Alfonso III of Asturias and Abd Allah ibn Lubb ibn Qasi in a coup that unseated Fortún Garcés of Pamplona in favor of Raymond's nephew, Sancho Garcés I.
In 904 he was attacked by Lubb ibn Muhammad ibn Qasi, who took 700 prisoners, including Raymond's son and heir Isarn. He lost much of Ribagorza, including Roda and Montpedrós, to Muhammad al-Tawil of Huesca in 907 and thereafter ruled mainly just Pallars, which had always been his political base. His wife may be the Giniguentes, daughter of Aznar Dat, mentioned in the Codex of Roda, but the text is ambiguous and probably refers to the wife of his son, Isarn. Pallars was inherited by his two youngest sons, Isarn and Llop, while mostly-overrun Ribagorza went to his two eldest, Miro and Bernard Unifred. Another son of Raymond was Ato, Bishop of Pallars, who appears as brother of both Bernard and Isarn in contemporary documents.