Morocco–Qatar relations humanitarian aid to Qatar, which had been banned from using the land, air and sea routes belonging to several of its neighboring countries. Qatar maintains an embassy in Morocco's capital city Rabat. Morocco has an embassy in Doha, Qatar. King Mohammed VI of Morocco, who assumed power in 1999, made his first official visit to Qatar in June 2002. Emir Hamad bin Khalifa Al-Thani made his first visit to Morocco in October 2002. In July 2005, he traveled to Morocco for an official two-day visit. After Hamad bin Khalifa Al-Thani successfully deposed his father Khalifa bin Hamad Al Thani in
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,