[1][2] Tinmel is located along the important High Atlas mountain pass known as Tizi-n-Test between Marrakesh to the north and the Sous region to the south.
He established his followers here in 1124 or 1125 CE and it became the base from which they launched attacks on the Almoravids who ruled the region at the time.
[6] Abd al-Mu'min, who took over leadership of the Almohads after him, decided to build a new mosque nearby or on the same site in 1148, as confirmed by historical documents of the time[5][7] – although the foundation date of 1153-1154 CE (548 AH) given by the Rawd al-Qirtas is still cited by many.
Later, as the Marinids wrested control of Morocco from them, the Almohads of Marrakesh made a final stand in Tinmel until their last leaders were defeated and captured here in 1275.
[16] As of January 2023, work was underway on a new restoration of the mosque overseen by the Ministry of Habous and Islamic Affairs, projected to last 18 months.
The Moroccan Culture Ministry responded by stating that the mosque would be restored, while UNESCO indicated it would send a team to evaluate the damage.
[19] An early assessment in October 2023 estimated that 75% of the building was destroyed, although more complete destruction was avoided because the terrace on which the mosque stands did not collapse.
[19]In November 2023, Moroccan news outlet Médias24 published an article criticizing the clearance of debris from the mosque, alleging it was being done without proper supervision from archeologists and that historical fragments were potentially being lost in the process.
[20] A subsequent article by Le Desk, another Moroccan news outlet, has challenged this allegation, quoting Aboulkacem Chebri, president of the Moroccan branch of ICOMOS, who states that historical fragments from the site were being collected and stored appropriately, including those that could be potentially be reused during reconstruction.
The main prayer hall is divided into nine "naves" (running roughly north to south) by rows of pointed horseshoe arches.
[11] This overall form inherits the tradition of the 10th-century mihrab of the Great Mosque of Cordoba, which also consisted of a small octagonal room.