At the end of the main street, close to the mechouar, is this mosque that was constructed in the 12th century.