Marrakech's Ali ben Youssef Medersa is a well-preserved 16th-century theological school. Originally built in the 14th century, Sultan Abdullah el Ghallib rebuilt it almost completely, adding refined details in the carved cedar, stucco plasterwork and many mosaics.