County of Melgueil

The County of Melgueil (Occitan: Melguelh, modern Mauguio) was a fief of first the Carolingian Emperor, then the King of France, and finally (1085) the Papacy during the Middle Ages.

In 1172 Beatriu disinherited her son Bertrand and named her daughter Ermessenda her heiress.

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.