Mascara campaign (1699–1701)

This episode, which ended in 1701 with the Moroccan's defeat at the Battle of Chelif, reopened the hostilities between the Sherifian Empire and the Regency of Algiers.

Sometime between 1699 and 1700, Sultan Moulay Ismail ibn Sharif instructed his son Moulay Zidan, to whom he entrusted the command of the province of Taza, to launch an offensive against the Algerians, in coordination with an offensive by the Bey of Tunis Murad III on the Beylik of Constantine, which triggered a two front war against the Deylik of Algiers.

The Moroccan army, mainly composed of the Black Guard, commanded by Moulay Zidan, managed to chase the Turks from Tlemcen.

The Moroccan army besieged the city defended by armed Kouloughlis and even pushed as far as Mascara, the capital of the Western Beylik, whose Bey Othman was absent due to an expedition.

[citation needed] After dismissing his son, Moulay Ismail resumed the campaign and led in person another offensive against the Algerians in 1701.