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 the northern terminus for the western trans-Sahara trade route, it was one of the most important trade centres in the Maghreb during the Middle Ages. The Kingdom of Nekor was an emirate centered in the Rif area of Morocco. Its capital was initially located at Temsaman, and then moved to Nekor. The polity was founded in 710 AD by Salih I ibn Mansur through a Caliphate grant. Under his guidance, the local Berber tribes adopted Islam, but later deposed him in favor of one az-Zaydi from the Nafza tribe. They subsequently changed their mind and reappointed Ibn Mansur. His dynasty,