County of Melgueil
The County of Melgueil was a fief of first the Carolingian Emperor, then the King of France, and finally the Papacy during the Middle Ages. Counts probably sat at Melgueil from the time of the Visigoths. The counts of Melgueil were also counts of Maguelonne and Substantion from at least the time of Peter's homage to Pope Gregory VII on 27 April 1085. In 1172 Beatriu disinherited her son Bertrand and named her daughter Ermessenda her heiress. Later that year Ermessenda married the future Raymond VI of Toulouse and by her will of 1176 the county was to go to Toulouse. Bertrand refused to recognise his disinheritance and pledged homage as Count of Melgueil to Alfonso II of Aragon in 1172. The county fell to the Toulouse in 1190 and was annexed to the French crown in 1213, during the Albigensian Crusade. At the Fourth Council of the Lateran in 1215 it was given to the Diocese of Maguelonne and secular and ecclesiastical authority were merged.- Aigulf
- Amic, son of Agilulf
- Robert
- Adolf
- Ernest
- Eberard
- Bera, also Count of Barcelona
- Rampo, also Count of Barcelona
- Bernard of Septimania, also Margrave of Septimania
- Berengar the Wise, also Count of Toulouse
- Bernard of Septimania, also Margrave of Septimania
- Sunifred, also Count of Barcelona
- William of Septimania, also Margrave of Septimania
- Aleran, also Count of Barcelona
- Isembart, also Count of Barcelona
- Odalric, also Margrave of Septimania
- Humfrid, also Margrave of Gothia
- Bernard of Gothia, also Margrave of Gothia
- Guillermona, married to Robert of Magalona
- Bernard I, son of Guillermona
- Berengar, son of Bernard I
- , son of Berengar
- N.N., son of Bernard II
- , son of the son of Bernard II
- Raymond I, son of Bernard III
- , son of Raymond I
- Raymond II, son of Peter
- Bernard IV, son of Raymond II
- Beatrice, daughter of Bernard IV, under the regency of her cousin William VI of Montpellier
- Berengar Raymond, first husband of Beatrice, also Count of Provence
- Bernard V of Pelet, second husband of Beatrice, also Lord of Alès
- Ermessenda, daughter of the previous
- Raymond VI, husband of the previous, also Count of Toulouse.
On the death of Beatrice the county was disputed. In 1172 it was divided. In 1190 it was reunited.