Count Raymond IV of Toulouse, ruler of the kingdom of Languedoc, brings from the Crusade a certain statuette depicting Baphomet. The wealthy Kingdom of Languedoc causes the envy of France. Five years after returning from a campaign, Count Raymond is overtaken by a mysterious death in the highland castle of Montsegur. His son Alphonse leaves his native Languedoc forever, going to the Holy Land, where he meets Hugues de Paynes, the first Grand Master of the Knights Templar. After that, the Templars begin to worship Baphomet. A century later, the statuette falls into the hands of Chevalier Clermont de Montsegur, great-grandson of the Count of Toulouse. His life is full of unpredictable turns, and death becomes a mystery to posterity. The King of France pursues the Knights Templar and tries to destroy them in order to take possession of the treasures of the Templars. The next owner of Baphomet, Auguste de Cavallon (Templar) transports the gold of the Knights Templar to Scotland. He experiences turbulent adventures, and then becomes the preceptor (manager) of Inverness Castle, in which the spiritual and magical knowledge of Europe and the Near East is concentrated.