In the year 281 H / 893 AJC. Prince Aghlabit Brahim II ordred the construction of a for on the culf Hammamet to keep the Tunisian coast.
The wird was completed in the year 292 H/ 904 AJC. Fort, which means also the names of “Kalaa” (Fortress) and Kasbah (citadel) stands at the south-west of the medina.
Over the centuries. fort has gone through various stages marked by successive changes. Restored during the 14th century it was transformed under the Ottoman Empire in military barracks for needs of the Turkish army. He continued to perform the same function during the French Protectorate.