Fez is a city in northern inland Morocco (northeast of the Atlas Mountains). Fez was founded under the Idrisid rule during the 8th century. The migration of Arab families in the 9th century gave the nascent city its Arabic character. Under Almoravid rule, the city gained its reputation for religious scholarships and expanded to the largest city (world) during 1175 with a population of 200.000. Many madrasas, mosques, and gates were built, which represent the hallmarks of Moorish and Moroccan architecture. The medina of Fez is listed as a World Heritage Site and is one of the world's largest urban car-free area.