During the youth of young Louis the Pious his tutor, Torson, ruled at Toulouse as the first count. In 788, Count Torson was captured by the Basques under Adalric, who made him swear an oath of allegiance to the Duke of Gascony, Lupus II. Upon his release, Charlemagne, at the Council of Worms, replaced him with his Frankish cousin, William of Gellone. William in turn successfully subdued the Gascons. In the ninth century, Toulouse suffered in common with the rest of western Europe. It was besieged by Charles the Bald in 844, and taken four years later by the Normans, who had sailed up the Garonne. About 852, Raymond I, count of Quercy, succeeded his brother Fredelo as Count of Rouergue and Toulouse. It is from Raymond that all the later counts of Toulouse document their descent. His grandchildren divided their parents' estates; of these Raymond II became count of Toulouse, and Ermengol, count of Rouergue; while the hereditary titles of Septimania, Quercy and Albi were shared between them. Raymond II's grandson, William III, married Emma of Provence, and handed down part of that lordship to his younger son Bertrand I of Forcalquier. William's elder son, Pons, left two children, one of whom, William IV succeeded his father in Toulouse, Albi and Quercy; while the younger, Raymond IV, ruled the vast possessions of the counts of Rouergue.
From this time on, the counts of Toulouse were powerful lords in southern France. Raymond IV, assumed the formal titles of Marquis of Provence, Duke of Narbonne and Count of Toulouse. Afterward, the count set sail with the First Crusade. After the conquest of Jerusalem, he set siege to the City of Tripoli in the Levant. Raymond died before the city was taken in 1109, but is considered the first Count of Tripoli. His son, Bertrand, then took the title. He and his successors ruled the Crusader state until 1187. While Raymond was away in the Holy Land, rule of Toulouse was seized by William IX, Duke of Aquitaine, who claimed the city by right of his wife, Philippa, the daughter of William IV; William was unable to hold it long. Raymond's son and successor, Bertrand, had followed him to the Holy Land in 1109. Therefore, at Raymond's death the family's great estates and Toulouse went to Bertrand's brother, Alfonso Jordan. His rule, however, was disturbed by the ambition of William IX and his granddaughter, Eleanor of Aquitaine, who urged her husband Louis VII of France to support her claims to Toulouse by war. Upon her divorce from Louis and her subsequent marriage to Henry II of England, Eleanor pressed her claims through Henry, who at last, in 1173, forced Raymond V to do him homage for Toulouse. Raymond V, a patron of the troubadours, died in 1194, and was succeeded by his son, Raymond VI. Following the 1208 assassination of the Papal legate, Pierre de Castelnau, Raymond was excommunicated and the County of Toulouse was placed under interdict by Pope Innocent III. Raymond was eager to appease the Pope, and was pardoned. However, following a second excommunication, Raymond's holdings in the Languedoc were desolated by the Albigensian Crusade, led by Simon de Montfort. Raymond's forces were defeated in 1213, depriving him of his fees, and he was exiled to England. Montfort finally occupied Toulouse in 1215. Raymond VII succeeded his father in 1222. He left an only daughter, Joan, who married Alphonse, the son of Louis VIII of France and brother of Louis IX of France. At the deaths of Alfonse and Joan in 1271, the vast holdings of the counts of Toulouse lapsed to the Crown. under rule of the House of Toulouse on the eve of the Albigensian Crusade
*1114-1117: Philippa of Toulouse and William IX of Aquitaine, invaded Toulouse, taking advantage of Alfonso Jordan's minority; Alfonso regained control in 1117.
*1118-1120: William X of Aquitaine, son of Philippa and William IX, gave up claimancy in 1120.
*1215–1218: Simon IV de Montfort, usurper, count by conquest during the Albigensian Crusade
1222–1249: Raymond VII
1249–1271: Joan'
*1249-1271: Alphonse of France, husband, co-ruler
*1271: Philippa de Lomagne'', great-granddaughter of Constance of Toulouse, daughter of Raymond VI tries unsuccessfully to claim the inheritance of the county, as universal heir of Joan.