Is Rabat the capital of Morocco? Why not Casablanca or Marrakech?
The short answer
Yes, since 1912. The French chose Rabat over Fes (politically volatile), Marrakech (too far south), and Casablanca (too commercial). Morocco has four imperial cities — Fes, Marrakech, Meknes, and Rabat — each was once a dynastic capital.
Fes was the intellectual centre under the Marinids. Marrakech gave its name to the country. Meknes was Moulay Ismail's 17th-century creation. Rabat — coastal, central, with room to build — was the planned choice.
Today: the Royal Palace primary residence, parliament, every embassy, and the administrative machinery of the state.