|Founded by Almohads||1146|
|• Mayor||Mohamed Sadiki|
|• City||117 km2 (45.17 sq mi)|
|Highest elevation||160 m (520 ft)|
|Lowest elevation||0 m (0 ft)|
|• Rank||7th in Morocco|
|• Density||4,900/km2 (13,000/sq mi)|
|Time zone||UTC+1 (CET)|
|Official name||Rabat, Modern Capital and Historic City: a Shared Heritage|
|Designated||2012 (36th session)|
Rabat (//, also UK: //, US: //;Arabic: الرِّبَاط, romanized: ar-ribāṭ; Berber languages: ⴰⵕⴱⴰⵟ, romanized: Aṛṛbaṭ) is the capital city of Morocco and the country's seventh largest city with an urban population of approximately 580,000 (2014) and a metropolitan population of over 1.2 million. It is also the capital city of the Rabat-Salé-Kénitra administrative region. Rabat is located on the Atlantic Ocean at the mouth of the river Bou Regreg, opposite Salé, the city's main commuter town.
Rabat was founded in the 12th century by the Almohad ruler Abd al-Mu'min as a military town. The city steadily grew but went into an extended period of decline following the collapse of the Almohads. In the 17th century Rabat became a haven for Barbary pirates. The French established a protectorate over Morocco in 1912 and made Rabat its administrative center. Morocco achieved independence in 1955 and Rabat became its capital.
Rabat, Temara, and Salé form a conurbation of over 1.8 million people. Silt-related problems have diminished Rabat's role as a port; however, Rabat, and Salé still maintain important textile, food processing and construction industries. In addition, tourism and the presence of all foreign embassies in Morocco serve to make Rabat one of the most important cities in the country. The Moroccan capital was ranked at second place by CNN in its "Top Travel Destinations of 2013". It is one of four Imperial cities of Morocco, and the medina of Rabat is listed as a World Heritage Site. Rabat is accessible by train through the ONCF system and by plane through the nearby Rabat–Salé Airport.