With the fall of the Roman Empire in Morocco, the power of Morocco fell in the hands of Visigoths, Vandals and Byzantine Greeks successively. Though, the rulers were changing, the high mountains of most of modern Morocco remained unsubdued. This region was the main stay for the Berber inhabitants.
The 7th century A.D. witnessed the Arab forces occupying Morocco. The Arab Saadi dynasty took over the power of Morocco in the 16th century. The Islam rule thus conquered the entire Morocco. Under the Islamic rule, the citizens of Morocco prospered in the Spanish cities such as Sevilla and Granada as well as Fes and Marrakech in Morocco. This age saw advancement in science, mathematics, astronomy, geography as well as medicine.
In the 17th century, the Alaouite dynasty took the charge of Morocco. They claim the descent from the Prophet Muhammad. Various European powers followed. Finally on March 2, 1956, Morocco won its independence from France.
To know further about Morocco History, please refer to the following links:

