 The Nasiriyya zawiya was founded in the 17th century as the seat of the religious (Sufi) brotherhood of the Nasiriyya.Tamegroute had a religious school made famous by Abu Hafs Umar b. Ahmed al Ansari in 1575–76.The Nasiriyya order took its name (and its reputation) from founder Sidi Muhammad bin Nasir al-Drawi (1603–1674), who took over teaching at the Tamegroute zawiya in the 1640s.