The Great Mosque of Kilwa, which was supported by nine pillars and was entirely roofed, was renovated by Sultan al-Hasan ibn Sulaiman in the 14th century.
It contained a total of 16 bays, supported by nine pillars, originally carved from coral but later replaced by timber. The structure, which was entirely roofed, was perhaps one of the first mosques to have been originally built without a courtyard. In the early fourteenth century, Sultan al-Hasan ibn Sulaiman, who also built the nearby Palace of Husuni Kubwa, added a southern extension which included a great dome. 
