Tunisian–Algerian War (1694)

That was at least the case until 1613, when Murad I Bey, a Janissary of Corsican origins[5] seized power in Tunis, and founded the Muradid dynasty.

[8] He brought the tribes of northwest Tunisia led by Muhammad ben Cheker over to his side with promises of gold and silver.

Muhammad ben Cheker (the leader of the northwestern tribes, wanted the Beylik to himself, and hearing about the infighting, he visited Algiers to negotiate with the Algerians in 1694.

[9] Dey Hadj Chabane agreed to help ben Cheker in conquering Tunis, but only he would subjugate himself and become an Algerian vassal.

On June 24 Algerian troops entered Tunisian territory, and started rapidly advancing into the heartlands of Tunisia.

The Algerian army consisted of Janissaries, troops from the Beylik of Constantine led by Ali Khoudja Bey, and the allied tribes of ben Cheker.

After about 3 months of heavy fighting, in November, Tunis fell to the Algerians, who pillaged the newly conquered town.

Fed up with the occupation, ruined economy and extremely high taxes imposed by the Algerians, the people of Tunis, Sousse and Kairouan revolted.

The fort of El Kef