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 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