Anarchism in Morocco has its roots in the federalism practiced by Amazigh communities in pre-colonial Morocco. During theSpanish Civil War, Moroccan nationalists formed connections with Spanish anarchists in an attempt to ignite awar of national liberation against Spanish colonialism, but this effort was not successful. Despite the brief establishment of an anarchist movement in post-war Morocco, the movement was suppressed by the newly independent government, before finally reemerging in the 21st century.
Morocco was largely stateless until the establishment of the independent Amazigh kingdom of Mauritania in the 3rd century BCE, but was eventually incorporated into theRoman Empire. TheMuslim conquest of the Maghreb took place throughout the later 7th century CE, bringing Morocco under the rule of theUmayyad Caliphate and converting the indigenous Amazigh tribes to Islam, though they still retained their customary laws.[1] In 740, spurred on byKharijite agitators, the native Amazighrevolted against the caliphate. Morocco subsequently passed out of the caliphate's control and fragmented into a collection of small, independent Berber states such asBerghwata,Sijilmassa andNekor.[2] The Berbers went on to shape their own version of Islam. Some, like theBanu Ifran, retained their connection with radical puritan Islamic sects, while others, like theBerghwata, constructed a newsyncretic faith.[3][4] By the 11th century, a series of Amazigh dynasties rose to rule over all of Morocco, these included theAlmoravids,Almohads,Marinids andWattasids.
In the 16th century,Wattasid rule was displaced by theSaadi dynasty, which itself was succeeded by theAlaouite dynasty in the 17th century. But the centralized rule of theAlaouite Sultanate could not be totally extended throughout Moroccan territory, as many Amazigh tribes did not recognize the Sultan and did not submit to the government. These tribes organized federations from the bottom-up, in opposition to the central government, in which neighborhood representatives and village committees coordinated day-to-day affairs. Within these federations, property and themeans of production were held collectively, where farms were worked on a cooperative basis without money exchanging hands. The Moroccan anarchist Brahim Filali examined the Amazigh federalism of pre-colonial Morocco and compared it to the modern-day concept of anarchist federalism, posing it as an example that could be drawn upon by African anarchists in their own organizing.[5]

At the turn of the 20th century, Morocco wascolonized bySpain andFrance, which divided the country into two European-controlled protectorates. The new governments faced resistance to colonial rule, particularly from Amazigh tribes, who were seeing their autonomy being stripped away. Early anti-colonial revolts were led by theJebala andIzayen confederations, but the most prominent of these revolts culminated in theRif War of the 1920s, in whichRifians led byAbd el-Krim briefly established aconfederal republic and conducted a protracted guerilla war against the colonial regimes. However, the Republic of the Rif was eventually defeated and Abd el-Krim was exiled toRéunion. Resistance to colonial rule continued into the early 1930s, but was eventually crushed.
With the outbreak of theSpanish coup of July 1936, thenationalists seized control of theSpanish protectorate in Morocco. Many Moroccans were drafted into theArmy of Africa to fight in theSpanish Civil War. In response, the anarchist newspaperSolidarid Obrera began to openly call for the self-determination of the Rif, drawing attention to the nationalists' "reign of terror" in Morocco, and urged workers in the Rif to prepare an armed insurrection against the nationalists.[6]
In August 1936,Joan Garcia i Oliver met with the Egyptian teacherMarcelo Argila and sent him toGeneva in order to contact Moroccan nationalists. He returned in the company of theMoroccan Action Committee (MAC), which proposed to Garcia i Oliver a Moroccan uprising in exchange for a declaration of independence and the provision of arms and finances. TheCentral Committee of Antifascist Militias of Catalonia (CCMA) agreed to the terms, signing a pact with the MAC on September 20. Meanwhile,Pierre Besnard, secretary of theInternational Workers' Association (IWA), also proposed a plan to breakAbd el-Krim out of his captivity onRéunion, but this too required a declaration of independence for Spanish Morocco to be secured.[7] However, when a copy of the proposals were delivered to the republican government ofFrancisco Largo Caballero, the plan was rejected, in an attempt to avoid conflict withFrance.[8][9] The CCMA was subsequently dissolved on October 1, and even when Garcia i Oliver and other leaders of theConfederación Nacional del Trabajo (CNT) joined the republican government, no major changes were made to the government's position on Morocco. In contrast, the nationalist commanderFrancisco Franco had been persuaded to grant certain freedoms to Moroccans, which included allowing the publication of a local newspaper.[7]
Anti-Moroccan racism began to swell through the ranks of therepublican faction, withFederica Montseny characterizing the military uprising in such terms: "if they were Spaniards, if they were patriots, they would not have unleashed the… Moors on Spain, imposing on Spain their fascistic civilisation, not as a Christian civilisation but a Moorish civilisation". When enemy soldiers were captured by republican forces, Moroccans faced particularly discriminatory levels of violence from their captors. Republican propaganda urged men to enlist in order to prevent Spanish women from being "despoiled by the Moors", in a move which was criticized by the anarcha-feministMujeres Libres. The editorial board ofSolidaridad Obrera was also replaced with another, which began to propagate racist and evenimperialist views in the paper.[6]
In 1940, the Italian anarchistCelso Persici fled from the French authorities toCasablanca, where he joined theMoroccan resistance to fight againstFascist Italy in theItalian campaign.[10] Following the end ofWorld War II, theNorth African Libertarian Movement (MLNA) was established inFrench Algeria, with contacts in the French protectorates inTunisia andMorocco.Guy-Virgile Martin was among the anarchist activists with a presence in the North African press, working as a teacher in Morocco, where he experienced the country's independence from France.[11] In a letter sent to the Algerian anarchist Fernand Doukhan in January 1958, Martin described the isolation that anarchists were experiencing in the newly independent Morocco, which led him to join theMoroccan Communist Party, in which he became a leading figure.[12]
With the founding of the Moroccan anarchist journalIci et Maintenant in 2004, the editorBrahim Filali began to receive harassment and threats for his work, culminating in the journal's offices being set on fire on June 23, 2005. These acts of intimidation were met with condementation byReporters Without Borders, which connected the harassment to the newspaper's support of a miners' strike inImini.[13] Filali appealed for support, which was taken up internationally by theGeneral Confederation of Labor in Spain andAlternative libertaire in France, which helped to put together an appeal titled "Protect the freedom of the press in Morocco, support Brahim Fillali", which was signed by 20 French, Spanish and Moroccan organizations and communicated to the Moroccan press on August 5, 2005.[14] Undeterred by the repression against the publication, Filali was among a group of Moroccan anarchists that established theCentre libertaire d'études et de recherches (CLER) inRabat, which worked to "collect, classify and archive everything that has to do with anarchism", establishing a library, translating works into theArabic language and organizing a number of events.[15]