Of the 50 mosques still standing in the old city, the Great Mosque north of Bab al-Yaman, is the most significant. For centuries it served as an important Islamic school and centre of learning, and attached to it is a library containing the largest and most famous collection of manuscripts in Yemen.