Morocco's strategic location has shaped its history. Beginning with the Phoenicians, many foreigners were drawn to this area. Romans, Vandals, Visigoths, and Byzantine Greeks successively ruled the area. Arab forces began occupying Morocco in the seventh century A.D., bringing their civilization and Islam. The Alaouite dynasty, which has ruled Morocco since 1649, claims descent from the
Morocco's location and resources led to early competition among European powers in Africa, beginning with successful Portuguese efforts to control the Atlantic coast in the 15th century. France showed a strong interest in Morocco as early as 1830. Following recognition by the United Kingdom in 1904 of France's "sphere of influence" in Morocco, the Algeciras Conference (1906) formalized
France's "special position" and entrusted policing of Morocco to France and Spain jointly. The Treaty of Fez (1912) made Morocco a protectorate of France. By the same treaty, Spain assumed the role of protecting power over the northern and southern (Saharan) zones.
Nationalist political parties, which subsequently arose under the French protectorate, based their arguments for Moroccan independence on such World War II declarations as the Atlantic Charter (a joint U.S.-British statement that set forth, among other things, the right of all people to choose the form of government under which they live). A manifesto of the Istiqlal (Independence) Party in
1944 was one of the earliest public demands for independence. That party subsequently provided most of the leadership for the nationalist movement.
France's exile of the highly respected Sultan Mohammed V in 1953 and his replacement by the unpopular Mohammed Ben Aarafa, whose reign was perceived as illegitimate, sparked active opposition to the French protectorate. France allowed Mohammed V to return in 1955, and the negotiations that led to Moroccan independence began the following year.
The Kingdom of Morocco recovered its political independence from France on March 2, 1956. Through agreements with Spain in 1956 and 1958, Morocco restored control over certain Spanish-ruled areas. The internationalized city of Tangier was reintegrated with the signing of the Tangier Protocol on October 29, 1956. The Spanish enclave of Ifni in the south became part of Morocco in 1969. Spain,
however, retains control over the small coastal enclaves of Ceuta and Melilla in the north.
Upon the death of his father Mohammed V, King Hassan II succeeded to the throne in 1961. He ruled Morocco for the next 38 years, until his own death in 1999. His son, King Mohammed VI, assumed the throne in July 1999.