 During the French occupation, Tlemcen and the mosque became a center for Christianity.Later the mosque was sacked and turned into a warehouse for the military hospital.The mosque only regained its original function after the independence of Algeria.