The architecture of Fez, Morocco, reflects the wider trends of Moroccan architecture dating from the city's foundation in the late 8th century and up to modern times. The old city (medina) of Fes, consisting of Fes el-Bali and Fes el-Jdid, is notable for being an exceptionally well-preserved medieval North African city and is classified as a UNESCO World Heritage Site. A large number of historic monuments from different periods still exist in it today, including mosques, madrasas, synagogues, hammams (bathhouses), souqs (markets), funduqs (caravanserais), defensive walls, city gates, historic houses, and palaces.