Battle of Kef
1705 CE.
Shown on the map at 36.182°, 8.715°.
The Battle of Kef was a military engagement fought between the forces of the Beylik of Tunis and the Regency of Algiers. The battle took place following the aftermath of the Maghrebi War, leading to years of growing animosity between the two powers, which finally came to a boiling point in 1705. The Algerian army entered Tunisian territory on 8 July and set their camps close to Kef in Oued el-Tin (probably Oued-Mellègue). Unfortunately for the Tunisians, when the Algerians set their camps, one of the Banu Hilal Arab tribes of Tunis, called the Ouled Saïd, defected to the Algerians. This event created a domino effect of Arab tribes defecting to the Algerian side, with the powerful Drid also defecting. A part of Ibrahim's regular troops also changed sides. Dey Mustapha then proceeded to send officers to Ibrahim to ask peace terms, such as: Demanding Tunis pay war reparations, send a delivery of 1,000 camels, and hand over one of his children to the Dey to serve as a hostage. Ibrahim took this as a provocation and entered El Kef soon after with his Agha Al-Husayn I ibn Ali.
Text from the Wikipedia article Battle of Kef (1705), licensed CC BY-SA 4.0.