サアド朝
The region was conquered by the Muslims in the early 8th century AD, but broke away from the Umayyad Caliphate after the Berber Revolt of 740. Half a century later, the Moroccan state was established by the Idrisid dynasty. Under the Almoravid and the Almohad dynasties, Morocco dominated the Maghreb and Muslim Spain. The Saadi dynasty ruled the country from 1549 to 1659, followed by the Alaouites from 1667 onwards, who have since been the ruling dynasty of Morocco.