 It played a substantial role for Islamic intellectual development in Tlemcen, and there generations of ulamas had taught and had been taught.It was renovated several times by the Turks.However, it was converted by the French into a church in 1840, and the original roof was stripped off at the same time.