ARMENGOL [IV] de Urgell "el de Gerp", son of ARMENGOL [III] "él de Barbastro" Comte de Urgell & his [first wife Adelaida de Besalú] ([1050]-Gerp 28 Mar 1092). The Gesta Comitum Barcinonensium records that "Ermengaudus de Gerb filius eius" (named after the castle which he built) succeeded "Ermengaudus…dictus de Barbastre" in 1065, and died in 1092[1398]. As Armengol is recorded as married in a document dated to 1063 (assuming that this is correctly dated), it is likely that he was born from his father´s first marriage, although this has not yet been corroborated by any primary source. He succeeded his father in 1065 as Comte de Urgell. "Ermengaudus comes atque Lucia comitissa" donated "castrum de Almenara" to "Arnald Dalmad et uxori tua Ermengards" by charter dated 19 Jun 1063 (although this appears misdated if the other dates shown here are correct)[1399]. "Ermengaudus comes Urgelensis et Luciana comitissa uxor eius" confirmed that "castro de Pilzano" had been given by "pater meus Ermengaudus comes" to "Sanctiæ comitissæ filiæ Ranimiri regis", by charter dated 23 Apr [1072/73][1400]. "Ermengaudus comes proles condam…comitis Barbastri…Ermengaudi, comitisse namque Adalaidis meeque coniugis" donated property to the monastery of Santa Maria de la Seu d´Urgell by charter dated 29 Aug 1087[1401]. Monfar cites a first testament of Armengol [IV] under which he bequeathes his county to "Ramon, Guillen y Berenguer sus hermanos, y si estos no viviesen…al infante don Pedro su sobrino hijo del rey d´Aragon" if the testator´s own son died[1402]. As the document (as cited by Monfar) does not name the testator´s younger son, it is likely that it was dated to before his second marriage. Monfar cites a second testament of "Ermengaudi de Gerp comitis et marchionis Urgelli" but gives no details of the text of the document[1403]. A Fragmentum historicum in the cartulary of Alaon records the death in 1092 of "Ermengaudus de Gurb"[1404].
m firstly (before 19 Jun 1063) LUCIA, daughter of --- (-before 1079). "Ermengaudus comes atque Lucia comitissa" donated "castrum de Almenara" to "Arnald Dalmad et uxori tua Ermengards" by charter dated 19 Jun 1063[1405]. "Ermengaudus comes Urgelensis et Luciana comitissa uxor eius" confirmed that "castro de Pilzano" had been given by "pater meus Ermengaudus comes" to "Sanctiæ comitissæ filiæ Ranimiri regis", by charter dated 23 Apr [1072/73][1406].
m secondly ([1079]) ADELAIDE de Provence Ctss de Forcalquier, daughter of [GUILLAUME [VI] BERTRAND Comte de Provence et de Forcalquier & his second wife Adelais de Cavanez] (-1129). "Ermengaudus comes proles condam…comitis Barbastri…Ermengaudi, comitisse namque Adalaidis meeque coniugis" donated property to the monastery of Santa Maria de la Seu d´Urgell by charter dated 29 Aug 1087[1407]. The Histoire Générale de Languedoc records her parentage and marriage but does not cite the primary source on which this is based[1408]. "Adalais comitissa Fulcheriensis et mater mea Adalais et filius meus Willelmus marchio Provincie" restored "mediatem…castri…Lurs" to the bishop of Sisteron by charter dated 1110