French–Moroccan relations are bilateral relations between the Kingdom of Morocco and the French Republic. They are part of the France–Africa relations. Both countries are members of the World Trade Organization and the United Nations.

First exchanges (8th century)

Following the invasion of Spain from the coast of Morocco by the Umayyad Commander Tariq ibn Ziyad in 711, during the 8th century the Arab caliphate armies invaded Southern France, as far as Poitiers and the Rhône valley as far as Avignon, Lyon, Autun, until the turning point of the Battle of Tours in 732.Tricolor and crescent: France and the Islamic world by William E. Watson p.1

France would again become threatened by the proximity of the expanding Almoravid Empire in the 11th and 12th centuries.Reconquest and crusade in medieval Spain by Joseph F. O'Callaghan p.31

Consuls and physicians (1577–1600)

In 1402, the French adventurer Jean de Béthencourt left La Rochelle and sailed along the coast of Morocco to conquer the Canary Islands.Canary Islands by Sarah Andrews, Josephine Quintero p. 25

In the 16th century, the sealing of a Franco-Ottoman alliance between Francis I and Suleiman the Magnificent permitted numerous contacts between French traders and countries under Ottoman influence. In 1533, Francis I sent colonel Pierre de Piton as ambassador to Morocco."Francois I, hoping that Morocco would open up to France as easily as Mexico had to Spain, sent a commission, half commercial and half diplomatic, which he confided to one Pierre de Piton. The story of his mission is not without interest" in The conquest of Morocco by Cecil Vivian Usborne, S. Paul & co. ltd., 1936, p. 33 In a letter to Francis I dated August 13, 1533, the Wattassid ruler of Fes, Ahmed ben Mohammed, welcomed French overtures and granted freedom of shipping and protection to French traders. France started to send ships to Morocco in 1555, under the rule of Henry II, son of Francis I.Travels in Morocco, Volume 2 James Richardson p. 32

France, under Henry III, established a Consul in Fes, Morocco, as early as 1577, in the person of Guillaume Bérard, and was the first European country to do so.The International City of Tangier, Stuart, p. 38Studies in Elizabethan Foreign Trade p. 149 Under Henry, France named Guillaume Bérard as the first Consul of France in Morocco. Bérard, a doctor by profession, had saved the life of the Moroccan prince Abd al-Malik, during an epidemic in Istanbul; when he came to the Moroccan throne, Abd al-Malik wished to retain Bérard in his service.

Bérard was succeeded by Arnoult de Lisle and then Étienne Hubert d'Orléans in the double position of physician and representative of France at the side of the Sultan. These contacts with France occurred during the landmark rules of Abd al-Malik and his successor, Moulay Ahmad al-Mansur.

This was also a time when England was trying to establish friendly relations with Morocco as well, in view of an Anglo-Moroccan alliance, with the visit of Edmund Hogan to meet Muley Abd el-Malek in 1577.

King Henry IV encouraged trade with faraway lands after he had ended of the French Wars of Religion (Edict of Nantes 1598).

Moroccan missions to France The first Moroccan mission to France was that by Al-Hajari in 1610–11, who was sent to Europe by the Moroccan ruler to obtain redress against the ill-treatment of the Moriscos.The mirror of Spain, 1500-1700: the formation of a myth by J. N. Hillgarth Soon after, Ahmed el-Guezouli visited France in 1612–1613. He first went with Nasser Carta to the Netherlands, where he obtained the intercession of the States General for a visit to France; and then to France where he endeavoured to obtain the restitution of the library of Moulay Zidane, which had been taken by Jean Philippe de Castelane.

Expeditions of Isaac de Razilly (1619–1631)

Isaac de Razilly, accompanied by Claude du Mas, already sailed to Morocco in 1619, under the orders of Louis XIII who was considering a colonial venture in Morocco."The narrative really begins in 1619, when the adventurer, Admiral S. John de Razilly, resolved to go to Africa. France had no colony in Morocco; hence, King Louis XIII gave whole-hearted support to de Razilly." in Round table of Franciscan research, Volumes 17-18 Capuchin Seminary of St. Anthony, 1952 He was able to reconnoiter the coast as far as Mogador. They returned to France accompanied by an envoy in the person of caid Sidi Farès, whose mission was to take back the books of Mulay Zidan.

In 1624, Razilly was put in charge of an embassy to the pirate harbor of Salé in Morocco, in order to again solve the affair of the library of Mulay Zidan. He was imprisoned and put under chains before being released, although he had to leave many Christian captives behind.The chevalier de Montmagny (1601-1657): first governor of New France by Jean-Claude Dubé, Elizabeth Rapley p.111 The mission of Razilly was accompanied by the first Capuchins to establish themselves in Morocco."The first Capuchin missionaries arrived in Morocco in 1624. They were Pierre d'Alencon, Michel de Vezins, priests, and Frère Rudolphe d'Angers a lay-brother. They were attached to the expedition of the seigneur de Razilly who was sent by France to negotiate a trade-treaty." in The Capuchins: a contribution to the history of the Counter-Reformation Father Cuthbert (O.S.F.C.) Sheed and Ward, 1928

As Richelieu and Père Joseph were attempting to establish a colonial policy, Razilly suggested them to occupy Mogador in Morocco in 1626. The objective was to create a base against the Sultan of Marrakesh, and asphyxiate the harbor of Safi. He departed for Salé on 20 July 1629 with a fleet composed of the ships Licorne, Saint-Louis, Griffon, Catherine, Hambourg, Sainte-Anne, Saint-Jean. He bombarded the city the Salé and destroyed 3 corsair ships, and then sent the Griffon under Treillebois to Mogador. The men of Razilly saw the fortress of Castelo Real in Mogador, and landed 100 men with wood and supplies on Mogador island, with the agreement of Richelieu. After a few days however, the Griffon reembarked the colonists, and departed to rejoin the fleet in Salé.E.J. Brill's first encyclopaedia of Islam, 1913-1936, Volume 9 by Martijn Theodoor Houtsma p.549

In 1630, Razilly was able to negotiate the purchase of French slaves from the Moroccans. He visited Morocco again in 1631, and participated to the negotiation of the Franco-Moroccan Treaty of 1631, with the help of descendants of Samuel Pallache (see Pallache family).A man of three worlds Mercedes García-Arenal, Gerard Albert Wiegers p.114 The Treaty give France preferential treatment, known as Capitulations: preferential tariffs, the establishment of a Consulate and freedom of religion for French subjects.France in the age of Louis XIII and Richelieu by Victor Lucien Tapié p.259

Alliances

Early embassies

As early as the 17th century, Moulay Ismaïl, who was looking for allies against Spain, had excellent relations with Louis XIV of France. He sent to the Sun-King ambassador Mohammad Temim in 1682. There was cooperation in several fields. French officers trained the Moroccan army and advised the Moroccans in the building of public works. French Consuls in Morocco were assigned, such as Jean-Baptiste Estelle. The French ambassador François Pidou de Saint Olon, was sent by Louis XIV visited Moulai Ismael in 1693. The Ambassador of Morocco Abdallah bin Aisha also visited Paris in 1699.

Collaboration After the end of the Seven Years' War, France turned its attention to Barbaresque pirates, especially those of Morocco, who had taken advantage of the conflict to attack Western shipping.Admiral de Grasse and American independence by Charles A. Lewis, Charles Lee Lewis p.41ff The French fleet failed in the Larache expedition in 1765.

Some contacts continued during the 18th century, as when the French engineer Théodore Cornut designed the new harbour of Essaouira for King Mohammed ben Abdallah from 1760. In 1767, France established a treaty with Morocco, which gave her consular and diplomatic protection. This treaty would become a model for other European powers for the following years.

In 1777, Mohammed ben Abdallah further sent an embassy to Louis XVI, led by Tahar Fennich and Haj Abdallah. The embassy brought as presents 20 French slaves previously captured in Provence by the pirates of Salé, as well as 6 magnificent horses. The two ambassadors remained in France for 6 months.In the lands of the Christians: Arabic travel writing in the seventeenth century by Nabil I. Matar p.191 Note 4

Another Moroccan embassy to France in 1781 was sent, but failed to be recognized on the pretext that the title of the king of France had not been properly rendered.

Industrial era

First Franco-Moroccan War

After the troubled periods of the French Revolution and the Napoleonic Wars, France again showed a strong interest in Morocco in the 1830s, as a possible extension of her sphere of influence in the Maghreb, after Algeria and Tunisia. The First Franco-Moroccan War took place in 1844, as a consequence of Morocco's alliance with Algeria's Abd-El-Kader against France. Following several incidents at the border between Algeria and Morocco, and the refusal of Morocco to abandon its support to Algeria, France faced Morocco victoriously in the Bombardment of Tangiers (August 6, 1844), the Battle of Isly (August 14, 1844), and the Bombardment of Mogador (August 15–17, 1844).Navies in modern world history Lawrence Sondhaus p.71ff The war was formally ended September 10 with the signing of the Treaty of Tangiers, in which Morocco agreed to arrest and outlaw Abd-El-Kader, reduce the size of its garrison at Oujda, and establish a commission to demarcate the border. The border, which is essentially the modern border between Morocco and Algeria, was agreed in the Treaty of Lalla Maghnia.

In the aftermath of the war, Sultan Abd al-Rahman sent a mission to France in 1845 led by Ambassador ʿAbd al-Qādir ʾAshʿāsh of Tetuan. The visit was described by the faqih and royal scribe Muḥammad Bin Abdellah aṣ-Ṣaffār in ar-Rihla at-Tetuania Ila ad-Diar al-Faransia ( The Tetuani Journey to the French Abodes) in a lone manuscript for the sultan.

French conquest of Morocco The United Kingdom recognized France's "sphere of influence" in Morocco in the 1904 Entente Cordiale, provoking a German reaction. The First Moroccan Crisis of 1905-1906 was resolved at the Algeciras Conference in 1906. The Treaty of Algeciras formalized France's preeminence among European powers in Morocco, and gave France a number of colonial privileges: control over duties at Moroccan ports, a contract to develop the ports of Casablanca and Asfi, and joint control with Spain over policing in Morocco.

The French military conquest of Morocco began in March 1907 when General Lyautey occupied Oujda, ostensibly in response to the murder of the French doctor Émile Mauchamp in Marrakesh. A western front was opened in August 1907 with the Bombardment of Casablanca and the following "pacification of the Chawiya."

The Second Moroccan Crisis, or the Agadir Crisis—in which France sent a large number of troops to Fes and Germany responded by sending a gunboat to Agadir and threatening with war—increased European Great Power tensions. It was resolved with the Franco-German Treaty of November 4, 1911.

Colonial period

The Treaty of Fes (March 30, 1912) made Morocco a French protectorate. From a strictly legal point of view, the treaty did not deprive Morocco of its status as a sovereign state.

Even after the Treaty of Fes, France waged wars of conquest in Morocco, notably the Zaian War in the Atlas and the Rif War in the north.

World War I