Taza (, ) is a city in northern Morocco occupying the corridor between the Rif mountains and Middle Atlas mountains, about 120 km east of Fez and 150 km south of Al Hoceima. It recorded a population of 148,406 in the 2019 Moroccan census and is the capital of Taza Province. History Historically Taza was known first as Ribāt Taza (), a military camp belonging to the Fatimid state, founded by the local governor Musa ibn Abi'l-Afiya () who was also the leader of the Miknasa. Up to at least the early 20th century, Taza was a considerable trading centre on the route between Fez and the Algerian frontier. Taza as a toponym could be derivative from Tizi (Tamazight for a hill that lies between mountains) which is where it stands up. Taza was first settled by Miknasa tribesmen, who gave it its name: Miknasa Taza, similar to Miknasa al-Zeitoun (present-day Meknes, another Miknasa settlement). The Almoravid empire took over Taza in 1074. They were replaced by the Almohad empire in 1132. In 1248 the city was captured by the Marinids. Although Taza barred the route of the Turks from Algiers seeking conquest in what is now Morocco, it fell to the French in 1914. The old town has Berber monuments, mosques, and a 14th-century madrasa (Koranic school). Population in 1982 stood at 77,216. Geography Taza is located in north-central Morocco, in the south of the Rif region right outside the mountain range on a narrow plain. The city is composed of two formerly separate towns built on separate terraces overlooking a mountain valley. The old-Taza town is at an elevation of 1,919 feet (585 m) above sea level and is surrounded by fortifications; the newer town, established by the French in 1920, is located in a fertile plain at an elevation of 1,460 feet (445 m). Fossil remains indicate that caves in the area were inhabited as early as the Paleolithic Period. One of the most important caves in Morocco, Rhar Chara, is close to Taza. This cave is over 7.6 kilometres long. The city is located in a mountain pass known as the "Taza Gap", where the Rif mountains and the Middle-Atlas range come together. Through this pass successive waves of invaders moved westward onto the Atlantic coastal plains of north-western Africa. Climate The Köppen-Geiger climate classification system classifies its climate as hot-summer Mediterranean (Csa). Located along the