The capital of Morocco is Rabat, which was founded 12th century. Rabat has been the capital since 1912.
Although Rabat is not the largest city in Morocco, it functions as: Houses the parliament.
Rabat is located at 33.9716° N, 6.8498° W, at an elevation of 0' ft.
Source: https://flic.kr/p/pHhWhk