Maghrebi war (1699–1702)

Maghrebi war
Part of the Algerian-Sherifian conflicts, and the Tunisian–Algerian Wars
Date1699–1702
Location
Result

Algerian victory

  • Moroccan and Tunisian forces routed
Territorial
changes
Very minor, or no changes
Belligerents
Regency of Algiers Beylik of Tunis
Sultanate of Morocco
Regency of Tripoli
Commanders and leaders
Hadj Moustapha
Hassan Chaouch
Bouchelaghem Bey
Ali Khodja Bey 
Ahmed ben Ferhat
Murad III X
Ibrahim Sharif
Moulay Ismail (WIA)
Zeïdan ben Ismail
Bosnak Ismail Pasha
Strength
Unknown Unknown
Casualties and losses
Unknown Unknown

The Maghrebi war (1699–1702) was a conflict involving a Tunisian, Tripolitanian, and Moroccan coalition, and the Regency of Algiers. It was an important milestone in the further weakening of the already fragile Ottoman grip over the Maghreb, as both sides utterly ignored the Ottoman sultan's pleas to sign a peace treaty. This war also led to the renewal of the Muradid infighting, which would later lead to the establishment of the Beylik of Tunis, and the Husainid dynasty in 1705.