 Dar al-Sultan palace was established as well in the lower point of the complex, where the sultans stayed during their visit to the mosque.The mosque has the main entrance resembling that of the several other Moorish architectures from Córdoba to Kairouan.The entrance leads to the gallery of plaster paintings.