 The archways inside the two first chambers feature decorative geometric carvings similar to the outline of the outer gates, but without the rest of the extensive decoration around them.The oldest current structure at the site of the Kasbah is its main mosque, the "Jama' al-'Atiqa" ("Old Mosque").Dating from Abd al-Mu'min's construction in 1150, it was largely restored in the 18th century, during the reign of Sultan Mohammed ben Abdallah, by an English corsair known as Ahmed el-Inglizi.