There are numerous historic mosques in the medina, some of which are part of a madrasa or zawiya. Among the oldest mosques still standing today are the highly prestigious Mosque of al-Qarawiyyin, founded in 857 (and subsequently expanded),[37] the Mosque of the Andalusians founded in 859–860,[38] the Bou Jeloud Mosque from the late 12th century,[39] and possibly the Mosque of the Kasbah en-Nouar (which may have existed in the Almohad period but was likely rebuilt much later[40][5]). The very oldest mosques of the city, dating back to its first years, were the Mosque of the Sharifs (or Shurafa Mosque) and the Mosque of the Sheikhs (or al-Anouar Mosque); however, they no longer exist in their original form.