A ship carrying twenty Muslim adventurers from Andalusia had anchored in the Gulf of St. Tropez in Provence in about 889.
Muslims have raided surrounding their base, an ancient village named Fraxinetum, reaching as far as Piedmont in Northern Italy and effectively controlling the Alpine passes between France and Italy.
They had established an outpost at modern St. Moritz in southern Switzerland.
The Saracens have been making inroads into Provence for several decades, building several fortresses, the greatest of which is at Fraxinetum, the castle of La Garde-Freinet.
They raid and pillage from these bases, capturing goods and people to be sold in distant Moslem ports.
The Provençals had opposed them strongly at first but soon settled down to a more passive resistance.
John of Gorze, a Lorraine-born monk, diplomat, administrator, and monastic reformer had been sent in 956 as an ambassador for Emperor Otto to the Caliph Abd-ar-Rahman III of Córdoba for two years, the purpose of this mission being to stop the attacks made from Fraxinet.
The Saracens, however, capture Maïeul, Abbot of Cluny, early in 973 and demand a ransom.
The abbot is much venerated by his monks and his ransom is quickly obtained.
The monks respond, however, once their abbot is released, by stirring up a fury in Provence against the Saracen menace.
The peasantry and the nobles, united in their antipathy towards the Saracens, together implore their ruler, Count William, to act against them.
William, equally disturbed by the treatment of the abbot, raises the feudal host and takes the offensive, his army consisting not only of men from Provence, but also the lower Dauphiné and Nice, lent by the counts of the High Alps and the viscounts of Marseille and Fos.
The Saracens, going out to meet the Provençals in the Alps, are defeated in a series of five battles at Embrun, Gap, Riez, Ampus, and Cabasse.
Thoroughly beaten back, the Saracens assemble in an open plain not far from Fraxinet called Tourtour.
The sixth and final battle of the war is staged here.
William defeats the Saracens in the field and chases them back to Fraxinet, where they hole up while the Provençals rest.