The Count of Tripoli was the ruler of the County of Tripoli, a crusader state from 1102 through 1289. Of the four major crusader states in the Levant, Tripoli was created last.
The history of the Counts of Tripoli began with Raymond IV of Toulouse, who led the Siege of Tripoli. The first count was his son Bertrand, who pushed his claim over that of his cousin William Jordon of Berga and Cerdenya. After the death of Raymond IV shortly after the Battle of Hattin, the title of Count of Tripoli was passed to the Princes of Antioch until the fall of the city in 1289.
The Count Raymond IV of Toulouse, one of the leaders of the First Crusade, founded the county in 1102 during a lengthy war with the Banu Ammar Emirs of Tripoli (theoretically vassals of the Fatimid caliphs in Cairo). The county gradually grew as the crusaders seized much of their territory and besieged Banu Ammar within Tripoli itself. Raymond died in 1105, leaving his infant son Alfonso-Jordan as his heir, with a cousin, William-Jordan of Cerdenya, as Regent. William-Jordan continued the siege of Tripoli until 1109, when the elder son of Raymond, Bertrand arrived in the east, leaving Toulouse to Alfonso-Jordan and his mother, who returned to France. Bertrand and William-Jordan, with mediation from King Baldwin I of Jerusalem, came to an agreement whereby each would keep control of their own conquests. Bertrand captured Tripoli later that year. When William-Jordan died a few months later Bertrand became sole ruler.
The county of Tripoli continued to exist as a vassal state of the Kingdom of Jerusalem. Count Raymond III, who reigned from 1152 to 1187, was an important figure in the history of the Kingdom to the south due to his close relationship to its kings (his mother Hodierna was a daughter of Baldwin II of Jerusalem) and to his own position as Prince of Galilee through his wife. He acted twice as Regent for the kingdom, first for the young Baldwin IV from 1174 to 1177, and then again for Baldwin V from 1185 to 1186. He also acted as the leader of the local nobility in their opposition to Baldwin IV's Courtenay relations with the Templars, Guy of Lusignan, and Reynald of Châtillon. Raymond unsuccessfully argued in favor of peace with Saladin, but, ironically, it was Saladin's siege of Raymond's Countess in Tiberias that led the Crusader army into Galilee before its defeat at Hattin in 1187. Although Raymond survived the battle, he died soon afterward.