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
Foreign relations of Morocco strong relations with Morocco because of its history of being a western ally. For example, Morocco has one of the longest friendship treaties with the United States. This is important for US interests because Morocco is a stable, democratizing, and liberalizing Arab Muslim nation. Geopolitical benefits are evident because ties to Morocco means that an ally is established in Africa, in the Maghreb region, and among the Arab states. Morocco's identity as an Arab Muslim state has also strengthened ties with the Persian Gulf countries as a result of 9/11 and the "war on terror". This has resulted in countries,