# Morocco–United Kingdom relations

Morocco–United Kingdom relations are the bilateral relations that exist between the Kingdom of Morocco and the United Kingdom.

## History
### First exchanges

According to some accounts, in the early 13th century, King John of England (1167–1216) sent an embassy to Almohad Sultan Muhammad al-Nasir (1199–1213) to request military support and an alliance against France. At home, King John was faced with a dire situation in which his barons revolted against him, he had been excommunicated by the Pope and France was threatening to invade. The embassy of three was led by Bishop Roger, and King John supposedly offered to convert to Islam and to pay a tribute to al-Nasir in exchange for his help. Al-Nasir apparently dismissed the proposal.

### Anglo-Moroccan alliance

Relations developed following the sailing of The Lion to Morocco in 1551. According to Richard Hakluyt, quoting Edmund Hogan, the ruler "Abdelmelech" (Abu Marwan Abd al-Malik I) bore "a greater affection to our Nation than to others because of our religion, which forbids the worship of Idols".
In 1585, the establishment of the English Barbary Company, trade developed between England and the Barbary states, especially Morocco. Diplomatic relations and an alliance were established between Elizabeth and the Barbary states. Queen Elizabeth I sent Roberts to Moroccan Sultan Ahmad al-Mansur to reside in Morocco and to obtain advantages for English traders.
England entered in a trading relationship with Morocco detrimental to Spain by selling armour, ammunition, timber and metal in exchange for Moroccan sugar, in spite of a Papal ban, prompting the Papal Nuncio in Spain to say of Elizabeth I: "there is no evil that is not devised by that woman, who, it is perfectly plain, succoured Mulocco (Abd al-Malik) with arms, and especially with artillery".

### 1600 embassy

In 1600, Abd al-Wahid bin Mas'ud, the principal secretary to Moroccan Sultan Mawlay Ahmad al-Mansur, visited England as an ambassador to the court of Queen Elizabeth I. Abd al-Wahid bin Mas'ud spent six months at the court of Elizabeth to negotiate an alliance against Spain. The Moroccan ruler wanted the help of an English fleet to invade Spain. Elizabeth refused but welcomed the embassy as a sign of insurance and instead accepted to establish commercial agreements. Elizabeth and Ahmad continued to discuss various plans for combined military operations, with Elizabeth requesting a payment of 100,000 pounds in advance to king Ahmad for the supply of a fleet and Ahmad asking for a tall ship to be sent to get the money. Discussions, however, remained inconclusive, and both rulers had died within two years of the embassy.
In 1660, Britain took control of Tangier in Morocco following the marriage of Catherine of Braganza to King Charles II in 1661. Along with a large sum of money, the British crown took control of the city, intending to turn it into a major trade gateway into the Mediterranean. Difficulties with administering the city were compounded by religious divisions between the Protestant king in London and the Catholic administrators in Tangier hindered the ability to capitalize on the city's potential as a trade gateway, which culminated in a British withdrawal in 1683.

### Later relations

The English Garrison of the Colony of Tangier was almost constantly under attack by locals who considered themselves mujahideen fighting a holy war. The Earl of Teviot and around 470 members of the garrison were killed in an ambush beside Jew's Hill. Although the attempt by Sultan Moulay Ismail of Morocco to seize the Tangier had been unsuccessful, a crippling blockade by the Jaysh al-Rifi ultimately forced the English to withdraw.
A treaty signed in 1728 extended the privileges, especially those pertaining to the safe-conduct of English nationals.

### Nineteenth century

The Sultan banned piracy against European merchants in 1818, and the British perceived this warming of economic relations as a key piece to securing friendly passage into the Mediterranean for strategic and mercantile purposes. In the mid-19th century, Edward Drummond-Hay and his son John Drummond-Hay served as the British consuls-general at Tangier for decades, shaping the country's policies and survival during the Scramble for Africa. Initially, relations near the consulate in Tangier were terse, as various persecutions towards British citizens. Shipwrecked British merchant vessels and their crew were often plundered and enslaved, an entire family of British merchants in Tangier were murdered. The consulate in Tangier, however, was barred on orders from London regarding seeking retribution from the Moroccan sultanate, so as to retain positive foundational relations between the two states. This was due to the desire for British access to Mediterranean markets. The Anglo-Moroccan Accords, also known as the Anglo-Moroccan Treaties of Friendship, were signed on 9 December 1856. This helped prolong Morocco's independence, but reduced its ability to maintain royal trade monopolies within the country and reduced its ability to charge tariffs on foreign commerce. In 1858, British merchants were barred from importing a variety of cash crops from Morocco, such as sugar, tea, and coffee to further enforce the abolition of monopolies. In 1861, Britain issued Morocco a £500,000 loan financed by private investors to help the Sultan pay off the war indemnity of the Hispano-Moroccan War. The last 25 years of the 19th century had multiple exchanges between Britain and Morocco strengthen relations, particularly in terms of exchanging technological advances. In 1877, the first smallpox vaccines arrived in Morocco from Gibraltar. By 1880, the connections between Britain and Morocco warranted the laying of an undersea telegraph cable linking Gibraltar to Tangier.

### World War II and pre-independence

During World War II, British intelligence operated heavily in Morocco. Tensions between Britain and Vichy France, along with her colonial holdings, skyrocketed as World War II continued. From 1941-43, British intelligence agents, aided by the United States, planned to subvert the colonial rule of Vichy France by setting up an insurrection with the goal of an independent Morocco. Britain was concerned about the balance of power in the region following Francoist Spain's occupation of Tangier in 1940, and saw a potential entry of Spain on the side of the Axis as a growing concern. However, by 1944, these concerns had faded into the background of British intelligence policy towards Morocco, and British intelligence focused their efforts on remaining within the occupied city of Tangier for information collection. Following World War II, French colonial officials in Morocco were hostile to British involvement in the region, and remained suspicious of potential British activity sponsoring Moroccan independence movements. The incongruity between British and French objectives allowed for Moroccan nationalists to coalesce more efficiently.
British journalism played an important role in pushing for Moroccan independence abroad, particularly in the west. BBC journalist Nina Epton traveled to Morocco in 1946, visiting the notably international city of Tangier. In Tangier, she met with Allal al-Fassi, who told her to "tell people abroad the truth" about Morocco's need for independence. Upon returning to London, Epton wrote in favor of the nationalists multiple times, which helped the independence movement gain traction internationally. Her positive coverage of the nationalist movement included recounting meetings with nationalist leaders, and their alignment to western ideals, in particular the contemporary Atlantic Charter. This coverage was received poorly by colonial officials, however, and Epton was increasingly harassed, even one time being detained and called a highly effective British intelligence agent.

## Economic relations

From 26 February 1996 until 30 December 2020, trade between Morocco and the UK was governed by the Morocco–European Union Association Agreement, while the United Kingdom was a member. Following the withdrawal of the United Kingdom from the European Union, the UK and Morocco signed a continuity trade agreement on 26 October 2019, based on the EU free trade agreement; the agreement entered into force on 1 January 2021. Trade value between Morocco and the United Kingdom was worth £3,288 million in 2022.

## Diplomatic relations

The Moroccan embassy is located in London.
* Ambassador Hakim Hajoui
The United Kingdom embassy is located in Rabat.
* Ambassador Simon Martin