Marçais suggested, on the basis of its strong similarity to the Sidi Boumediene Mosque in Tlemcen, that it was built by the same architect and under the same ruler as the latter, thus placing its foundation in the reign of Sultan Abu al-Hasan, between 1331 and 1348.