1126 - Ramparts built (approximate date).[9][10] 1127 - Bab Agnaou (gate) built.[11] 1129 - City besieged by Almohads.[12] 1132 - Masjid al-Siqaya (mosque) built (approximate date).[citation needed] 1147 - Almohads in power.[9] 1157 - Agdal Gardens laid out.[11] 1158 - Koutoubia Mosque built.[10] 1182 - Scholar Al-Suhayli arrives in Marrakesh (approximate date).