The main building in the Kasbah was begun in 1516 on the site of an older building, and served as the palace of the deys until the French conquest. A road has been cut through the centre of the building, the mosque turned into barracks, and the hall of audience allowed to fall into ruin. There still remain a minaret and some marble arches and columns. Traces exist of the vaults in which were stored the treasures of the dey.