Meknes is a city in northern Morocco. It is served by the A2 expressway between those two cities and by the corresponding railway. Meknes was the capital of Morocco under the reign of Moulay Ismail, before it was relocated to Marrakech. The population is 1,000,000. It is the capital of the Meknes-Tafilalet region. Meknes is named after a Berber tribe which was known as Miknasa in the medieval North African sources.