Morocco Morocco Morocco (; ; ), officially the Kingdom of Morocco (; ), is a country located in the Maghreb of North West Africa with an area of . Its capital is Rabat, the largest city Casablanca. It overlooks the Mediterranean Sea to the north and the Atlantic Ocean to the west, bordered to the east by Algeria and to the south by Mauritania. Morocco claims the areas of Ceuta, Melilla and Peñón de Vélez de la Gomera, all of them currently under Spanish jurisdiction. Since the foundation of the first Moroccan state by Idris I in 788 AD, the country
History of Morocco with a new capital in Cairo. The Fatimids had assigned the Zirids, a Zenaga Berber clan centered in Ifriqiya, to watch their western dominions. The Zirids, however, were unable to prevent Morocco from spinning out of their control and crumbling into the hands of a collection of local Zenata Berber chieftains, most of them clients of the Caliph of Cordoba, such as the Maghrawa in the region of Fez and itinerant rivals, the Banu Ifran to the east. Morocco was at its most powerful under a series of Berber dynasties, which rose to power south of the Atlas Mountains and