Meknes was the capital of Morocco under the reign of Moulay Ismail (1672–1727), before it was relocated to Rabat. The population is 950,322 (2006 estimate). It is the capital of the Meknes-Tafilalet region. Meknes is named after a Berber tribe which was known as Miknasa in the medieval Arabic sources.
The land upon which the city is founded and much of its surrounding territory came under the domination of the Roman Empire in AD 117. The original community from which Meknes can be traced was an 8th century Kasbah, or fortress. A Berber tribe called the Miknasa settled there in the 10th century, and a town consequently grew around the fortress. Meknes saw its golden age as the imperial capital of Moulay Ismail following his accession to the Sultanate of Morocco.
Source:
Wikipedia