Originally built by the Aghlabids as a watchtower and steadily expanded into a kasbah, the fort built into the southwest ramparts of Sfax's medina walls now functions as an underwhelming museum with a few exhibits about restoration projects in the medina.