The bazaar has been established here since the early Idrisid period of the city (9th-10th centuries).[1][5] However, its streets and houses were rebuilt at least once after the double devastation of a fire in 1324 and a flood in 1325, and then again in the 1920s following another fire, at which point many of the structures were rebuilt in concrete.[5][6] The most recent renovations, in 2016 and 2017, replaced the street roofs with new wooden roofs, made various repairs and practical improvements, and added tile decoration along the lower walls.[6][3]