Rabat is a capital city .
Rabat is the second most important city in Morocco ( after Marrakesh ) and its third largest city with an urban population of approximately 580,000 ( 2014 ) and a metropolitan population of over 1.2 million .
Rabat