The Battle of Kef was fought in 1694, between the Deylik of Algiers, and Muradid Tunis, during the Tunisian-Algerian War of 1694.
On June 24, the same day that the Tunisian-Algerian war started, the Algerians arrived under Kef.
Knowing that his weak army couldn't defeat the Algerians, he decided to offer a tribute.
The battle ended in a catastrophic defeat for the Tunisians, who fled from the invading forces.
Mohamed bey retreated into Tunis and planned on fortifying the town, and holding back the Algerian forces.