Extraterritoriality and Legal Belonging in the Nineteenth-Century Mediterranean

This article examines the intersection between extraterritoriality--privileges afforded to European subjects in the Islamic Mediterranean--and various forms of state membership. To capture the multiplicity and instability of state membership, I introduce the phrase “legal belonging”--a neutral, umbrella term that encompasses a wide range of bonds between individuals and states (usually referred to as subjecthood, nationality, or citizenship). Adopting the methods of global legal history, I look at how laws regulating legal belonging responded to the extraterritorial context of the Mediterranean in both European and Middle Eastern states. In so doing, I offer an alternative to the centrifugal narrative of modernization, which presumes that modern citizenship was invented in Europe and then exported to the Islamic world. Instead, I contend that the evolution of legal belonging on both sides of the Mediterranean developed in response to the challenges and opportunities presented by extraterritoriality. The article consists of two cases studies: first, I look at the regulation of legal belonging in Tunisia, the Ottoman Empire, and Morocco, arguing that this legislation responded to the challenges posed by extraterritoriality. Second, I examine the influence of extraterritorial regimes on the nationality of Algerians under French colonial rule.

a foreigner, which would cause a blow to the Ottoman Sultan's ability to govern his subjects. The future of Zédéan's inheritance depended on the state to which he belonged: was he a Greek subject when he died, as the Greek consulate claimed? Or was he Ottoman, as Aali Pacha insisted?
Sixteen years later, an attempt was made on the life of 'Abdallah Shamīla (Chemila) at his home in Zliten, in the Ottoman province of Tripolitania (present-day Libya). Fortunately for Shamīla, he was not at home; the assassins instead murdered his servant in broad daylight. Fearing for his life, Shamīla went to the local Ottoman authorities, but they failed to investigate or arrest the murderers. So Shamīla decamped to Tripoli, where he sought the help of the French consul, Laurent-Charles Féraud. He had already visited the French consulate to deposit an affidavit attesting his birthplace in Mostaganem, in the west of Algeria; as an Algerian, Shamīla was entitled to French diplomatic protection abroad. Shamīla asked Féraud to intervene with the Ottoman authorities and force them to investigate the crime. Féraud was used to this kind of request; French consuls across the Middle East and North Africa regularly made demands on behalf of French citizens from the metropole and colonial subjects from Algeria. But the Ottoman governor was unmoved. He insisted that Shamīla was not Algerian, but rather an Ottoman subject falsely claiming Algerian origins. As an Ottoman subject, Shamīla must appeal directly to the Ottoman authorities "in conformity with the law." The Ottoman minister of foreign affairs agreed, insisting that Shamīla was a native of Zliten; the French consul had no right to intervene on his behalf. 2 Was Shamīla an Algerian, and thus entitled to Féraud's intervention? Or was he a subject of the Sublime Porte, and thus limited to making his case before the local Ottoman officials? * * * The cases of Zédéan and Shamīla both concern the extraterritorial privileges accorded to European subjects in the Ottoman Empire. These extraterritorial privileges stemmed from the capitulations: a series of unilateral concessions first granted by Ottoman sultans to Italian city-states in the medieval period, and gradually expanded to other states in Europe and the Americas. 3 Thanks to these capitulations, foreigners in the Ottoman Empire could largely escape the jurisdiction of local authorities: they were exempt from local taxation and military service, could rely on their consular officials to intervene on their behalf with the local government, and were partly under the jurisdiction of consular courts. At the beginning of the seventeenth century, the Bey of Tunis-technically an Ottoman functionary, but increasingly asserting partial autonomy from Istanbulbegan to sign his own capitulations with European states. 4 In the following century, the sultans of Morocco started to do the same. 5 By 1800, the subjects of foreign powers could take advantage of extraterritorial privileges from Tangier in the west to Baghdad in the east, and from the Sahara in the south to Belgrade in the north.
The regime of extraterritoriality offers the backdrop for the Greek consulate's claim of authority over Zédéan's estate, and for the French consul's assertion that he had the right to demand justice on behalf of Shamīla. In the disputes over Zédéan's estate and the attempt on Shamīla's life, it was not clear whether these individuals were, in fact, entitled to the extraterritorial privileges claimed on their behalf. And in both instances, Ottoman authorities resisted granting foreign consulates jurisdiction.
These two cases-like countless others preserved in multiple archivesoffer examples of how claiming extraterritoriality depended on proving one's status as a foreigner. In more abstract terms, extraterritorial privileges were only granted to those who could demonstrate a formal bond linking them to a foreign state. Historians tend to refer to this type of bond with terms like "citizenship," "nationality," or "subjecthood." But these familiar locutions fail us in trying to understand the ways in which state membership and extraterritoriality intersected in the nineteenth-century Mediterranean. To capture the multiplicity and instability of state membership, I introduce the phrase "legal belonging": a neutral, umbrella term that encompasses a wide range of formal bonds between individuals and states.
As the cases of Zédéan and Shamīla suggest, nationality-like other types of legal belonging-was entangled with extraterritoriality in both European empires and Muslim-ruled states. 6 The connections between citizenship/nationality and extraterritoriality have been noted in a variety of contexts, from Uruguay to Alexandria to Shanghai. 7 This article investigates how legal belonging evolved in an extraterritorial context across the Mediterranean, adopting the methodology of global legal history at a trans-regional scale. 8 This perspective requires readers' indulgence as I 7. In a less-cited chapter of her classic book Law and Colonial Cultures, Lauren Benton argues that in nineteenth-century Uruguay, even weak claims to extraterritoriality were crucial in the development of Uruguyan citizenship laws: Lauren Benton, Law and Colonial Cultures: Legal Regimes in World History, 1400-1900 (Cambridge: Cambridge University Press, 2002), ch. 6. Sarah Abrevaya Stein traces Ottoman Jews' pursuit of "protection" in the early twentieth century, arguing that "extraterritoriality undermined regnant citizenship norms in Europe" (Stein, Extraterritorial Dreams, 8). And Will Hanley's study of Alexandria has shown that extraterritoriality was crucial in the development of both the bureaucratic administration of nationality laws, and of ordinary people's identification with nationality as a necessary and ubiquitous form of identity: Hanley, Identifying with Nationality; see also "What Ottoman Nationality Was and Was Not," Journal of the Ottoman and Turkish Studies Association 3 (2016): 277-98.
8. The Mediterranean was one of the original sites of the trans-regional approach that characterizes global history (see especially Henri Pirenne, Mahomet et Charlemagne [Paris: Félix Alcan, 1937]; Fernand Braudel, La Méditerranée et le monde méditerranéen à l'époque de Philippe II [Paris: Colin, 1949]). Yet it has not been on the forefront of the switch between political, social, and cultural contexts. But the view from 40,000 feet makes it worth suffering a certain amount of whiplash: it allows us to trace the patterns across polities rarely viewed in the same analytical lens, both within the Middle East and North Africa, and between the Middle East and Europe.
This Mediterranean-wide approach has various rewards; in particular, it helps overturn narratives of modernization that still characterize the history of citizenship in the Middle East. 9 An older understanding of legal history argues that much of modern law, including conceptions of citizenship and nationality, was invented in the West and exported to the rest of the world. 10 Middle Eastern polities then adopted these legal institutions. In a somewhat extreme version of this narrative, the incomplete secularization of citizenship explains Muslim states' failure to transcend religious or ethnic differences. 11 More recently, historians have presented alternatives to a centrifugal approach to modernization. 12 Building on this scholarship, I argue that the evolution of legal belonging on both sides of the Mediterranean developed in response to the challenges and opportunities presented by extraterritoriality, particularly challenges to Middle Eastern states' ability to assert jurisdiction over their members, and opportunities for Western empires to project their influence abroad. Modern legal belonging-like modernity itself-was constructed in dialogue among multiple actors, both European and non-European. This dialogue was not free from hierarchical power relations; in the nineteenth century, European states unquestionably possessed superior military might, and could thus make demands about extraterritoriality despite objections from Ottoman, Tunisian, and Moroccan officials. Nonetheless, legal change moved in multiple directions, instead of only from Europe to the rest of the world. I present two case studies to explore the entanglement between extraterritoriality and legal belonging. The first looks at the legislation of legal belonging in the Ottoman Empire, Tunisia, and Morocco: in all three polities, the threat posed by growing numbers of extraterritorial subjects prompted authorities to elaborate the rules of legal belonging. The second turns to the French Empire's approach to categorizing Algerians after the conquest of 1830. I show that extraterritoriality provided the backdrop to understanding the legal belonging of Algerians under French colonial rule, and thus the nature of legal belonging in the French Empire more broadly. Each looks at the regulation of legal belonging both in formal nationality laws and in "infra-legal" texts, including circulars, decrees, treaties, and consular instructions. 14 Together, the two case studies demonstrate that nineteenth-century legal belonging was constructed in the context of extraterritorial privileges, in Europe and in the Middle East.
A globalized approach to the history of legal belonging is particularly important because nationality law has generally been treated as a quintessentially national endeavor: part of the "reserved domain" that states are free to regulate as they see fit. 15 In the nineteenth-century Mediterranean, however, the question of who belonged to a particular state had everything to do with the extraterritorial privileges they might or might not claim. Admittedly, a trans-regional lens that flits across the Mediterranean cannot possibly offer a comprehensive account of either extraterritoriality or legal belonging in the nineteenth century. An exhaustive study, however, is not my aim; rather, I hope to suggest the benefits of approaching the entanglement of legal belonging and extraterritoriality on a trans-regional scale-a lens that allows us to see the co-construction of law across political and cultural boundaries.

The Spectrum of Legal Belonging
I do not eschew more familiar terms like citizenship, nationality, or subjecthood lightly. I do so only because I am convinced that relying on words with such political and cultural specificity-not to mention historical baggage-would ultimately lead to more confusion than clarity. This is why I introduce the umbrella term "legal belonging." I use the term "belonging," because it involves both the formal bonds that tie people to a state and forms of membership that stray beyond the strict boundaries imposed by words like "citizen" and "national." I use the term "legal," because it nonetheless concerns ligatures that produce some formal obligation on the part of a state rather than just any sense of connection, whether rooted in identity, territory, or an imagined community of co-nationals. 16 The state-based dimension of legal belonging is what makes this abstract concept an attribute of sovereignty. 17 Our conceptualization of citizenship remains colored by the image of "social closure," Rogers Brubaker's evocative phrase; in his scheme, everyone exists on one side of a "conceptually clear, legally consequential, and ideologically charged distinction between citizens and foreigners." 18 Were one to visualize Brubaker's assertions, one might imagine the citizens of given states colored with uniform hues, just like the maps that distinguish the territory of one country from another: the French all blue, Italians all green, Tunisians all red. But legal belonging in the nineteenthcentury Mediterranean was highly fragmented, with different degrees of membership for distinct classes of people. Instead of being a fence between insiders and outsiders, legal belonging encourages us to visualize different types of bonds with a state as existing along a spectrum. 19 16. On territory, see, for example, Zayde Antrim, Routes and Realms: The Power of Place in the Early Islamic World (Oxford: Oxford University Press, 2012); "imagined community" is, of course, Benedict Anderson's phrase: Benedict Anderson, Imagined Communities: Reflections on the Origin and Spread of Nationalism (London: Verso, 1983). Legal belonging is related to Shana Minkin's discussion of belonging in the context of death in colonial Alexandria (Minkin, Imperial Bodies); legal belonging, however, is a more restricted, precise status than the one Minkin invokes.
17. Compare Marguerite Vanel, "La notion de nationalité : Evolution historique en droit interne et en droit colonial comparé (droit français -droit britannique)," Revue critique de droit international privé 40 (1951): 5. There are robust debates over the concept of sovereignty and whether/how it applies to the Middle East, which I do not have the space to address in this article; by sovereignty, I mean the authority of the ruler or government within a territory (and to some degree beyond that territory, as in the case of extraterritoriality). For a good overview and a helpful bibliography, see Samantha Besson, "Sovereignty," in Max Planck Encyclopedia of Public International Law, ed. Anne Peters and Rüdiger Wolfrum (2011), https://opil.ouplaw.com/view/10.1093/law:epil/9780199231690/law-9780199231690-e1472?prd=MPIL (September 4, 2021).
18. Rogers Brubaker, Citizenship and Nationhood in France and Germany (Cambridge, MA: Harvard University Press, 1992), 21. With the characteristic confidence of sociologists, for whom the modern Western nation-state becomes a template to be applied across the globe, Brubaker assures readers that "every modern state" makes such a distinction. For a similarly universalist view of the binary between citizens and foreigners, see Vanel, "La notion de nationalité," 4-5.
19. The idea of seeing citizenship as a spectrum comes from Stein, Extraterritorial Dreams, 9. In addition to Stein's work, see Nancy Cott's study of women and citizenship Envisioning legal belonging along a spectrum better captures the ways in which the precise definitions of terms like "citizenship" and "nationality" continued to evolve until the late nineteenth century. Today, jurists distinguish between citizenship-which grants individuals the full range of civil and political rights afforded by state membership; and nationalitywhich is a more stripped-down form of membership that does not presume political rights. 20 But this distinction emerged at a particular historical moment. In the early nineteenth century, French jurists used the new term "nationality" interchangeably with "citizenship." 21 Only late in the century did jurists begin to differentiate between the two: in 1879, when George Cogordan published the first monograph devoted to nationality, he explained that only French men from the metropole were full citizens. French women were nationals, but not citizens, because they lacked political rights. By that time, Algerians were similarly only nationals, although as I will explore at length, it took decades to determine that colonial in the United States, which led her to observe that "citizenship can be delivered in different degrees of permanence or strength" and thus was "not a definitive either/or proposition" (Nancy F. 21. Jean-Jacques Gaspard Foelix, the first French jurist to author a monograph on private international law, used the terms "nationality" and "citizenship" interchangeably: Jean-Jacques Gaspard Foelix, Traité de droit international privé, 2nd ed. subjects in Algeria possessed French nationality. 22 It is tempting to paper over these uncertainties by projecting the clarity of the twentieth century onto the nineteenth. This is why a more neutral phrase like "legal belonging" can be useful; it better reflects the terminology's instability. The spectrum of legal belonging proves particularly helpful when accounting for extraterritorial privileges in North Africa and the Middle East. Consular protection allowed local subjects to acquire most of the trappings of extraterritoriality without changing their formal allegiance. Known as h ̣imāya in Arabic (or as a berat in Ottoman, the administrative language of the Ottoman Empire), patents of consular protection were originally intended for local subjects in the employ of foreign consulates; eventually, anyone with the requisite resources or wit could acquire protection. 23 Consular protégés were under the jurisdiction of their protecting power for most matters, yet never formally changed their state membership; they remained subjects of the Ottoman Sultan, the Bey of Tunis, or the Sultan of Morocco. Thus a Tunisian with French consular protection belonged both to Tunisia and to France. 24 To make matters even more complicated, consuls often extended their protection to individuals with no formal claim on extraterritoriality. 25 Informal protection may have rested on little more than the caprice of the diplomats involved; but it could prove highly effective in asserting extraterritorial privileges for local subjects.
In short, the proliferation of extraterritorial privileges adds points along our spectrum of belonging. A bit further on from nationality without political rights (women) or civil rights (colonial subjects), we might place those 24. On the ambiguity of the status of consular protégés, see Pélissié du Rausas, Capitulations dans l'Empire Ottoman, 2:42-64. In fact, there was much ambiguity within the category of protection, especially for colonial subjects: on this, see esp. Can, "The Protection Question"; Can, Spiritual Subjects; and Ahmed, "Contested Subjects." 25. See, for example, BOA, HR.HK.427/5.4, April 23, 1865, French Embassy in Istanbul to Sublime Porte. Lauren Benton, Adam Clulow, and Bain Attwood's edited volume on protection focuses on the exercise of sovereignty over territory, rather than over people. Nonetheless, their observations that protection was often vague, informal, and permitted multiple interpretations to co-exist at once all apply to the kind of consular protection described here: Lauren Benton and Adam Clulow, "Introduction: The Long, Strange History of Protection," in Protection and Empire: A Global History, ed. Lauren Benton, Adam Clulow, and Bain Attwood (Cambridge: Cambridge University Press, 2018), 1-9. consular protégés who did not formally belong to the protecting state, but nonetheless were under the jurisdiction of the consulate. And at the far end of the spectrum, we find local subjects with no formal claim on state membership or diplomatic protection, who nonetheless managed to invoke the jurisdiction of a consulate. In neither Europe nor the Middle East were the contours of legal belonging singular or fixed; and on both sides of the Mediterranean, these contours were articulated in an extraterritorial context.

Legislating Legal Belonging in North Africa and the Middle East
The conflict over Joseph Zédéan's estate boiled down to a seemingly simple question: was he an Ottoman subject? Or had he naturalized as a Greek citizen? But as the correspondence in the Ottoman nationality bureau demonstrates, the answer was hardly straightforward. Zédéan's inheritance was disputed in 1864, 5 years before Ottoman authorities attempted to clarify the laws of legal belonging in the Empire. It was precisely cases like Zédéan's-along with many others in which an individual's legal belonging came into question-that prompted the Sublime Porte to issue a decree regulating Ottoman nationality in 1869. In so doing, the Ottomans were hardly alone: the Bey of Tunis had done the same 8 years earlier, and the Sultan of Morocco did so a decade later. The proliferation of extraterritorial subjects across North Africa and the Middle East prompted these states to regulate legal belonging. The resulting legislation constituted an attempt to stave off the threats posed by the extraterritorial privileges accorded to foreign nationals and protégés.
The number of individuals benefiting from extraterritoriality in the Islamic Mediterranean exploded following the Napoleonic Wars as a result of migration from Southern Europe to the Middle East and North Africa; European colonial expansion, which turned Algerians, Maltese, and Ionians into French and British subjects respectively; and the creation of new nation-states like Greece, to whose citizenship many Ottoman subjects-especially Christians-had easy access. 26 27 The advantages of extraterritoriality were obvious and extensive; foreign nationals and protégés avoided paying local taxes, and thus had a considerable edge when it came to commercial enterprises. They could flout local laws with near impunity, counting on the support of their consulates should they run afoul of the authorities. Many even perfected the art of switching among nationalities or protectors depending on the context, choosing to be Ottoman or Greek, French or Tunisian, according to which affiliation would prove most beneficial under the circumstances. 28 The extension of extraterritoriality stemmed from a profound imbalance of power that allowed Western polities to insist on compromising the sovereignty of Muslim states. Invocations of extraterritoriality increasingly threatened the authority of local rulers, deducting from their tax revenue, undermining their jurisdiction, and inviting foreign intervention. The Sultans of Morocco and the Ottoman Empire and the Beys of Tunis were desperate for ways to limit the growing ranks of people with extraterritorial privileges. There was little they could do to curtail the numbers of immigrants; even in Europe and the Americas, borders were almost entirely open. 29 But they could try to limit the numbers of their own subjects who obtained extraterritorial privileges by acquiring foreign nationality or protection.
The link between extraterritoriality and legal belonging is particularly apparent in the laws that these polities promulgated to determine how one acquired or lost one's status as a member of the state-what came to be known as "nationality legislation." Examining the legislation of legal belonging in the Ottoman Empire, Tunisia, and Morocco reveals that in each case, legal reforms responded directly to the explosion of extraterritoriality.
Tunisia was the first polity in the Islamic Mediterranean to formally legislate legal belonging. The regulation of Tunisian nationality in the 1861 Qānūn al-dawla-usually called the Constitution in Western languagesemerged in large part from of an attempt to control the growth of extraterritoriality. 30 The Qānūn al-dawla dedicated one article to the acquisition or loss of membership in the Tunisian state: the bread and butter of nationality law: "Every Tunisian (al-tūnisī) who moves to a different state-for whatever reason, whether his absence is long or short, and whether he is counted among the people of the state or not-becomes a Tunisian subject again upon re-entering Tunisia." 31 In other words, the Qānūn al-dawla was primarily concerned with the question of losing one's status as a Tunisian national. The law explicitly prohibited Tunisians who naturalized abroad from conserving their foreign nationality once they were back in Tunisia and thus from enjoying the extraterritorial privileges associated with foreign nationality.
Contemporary observers understood this law as a response to the abuse of extraterritorial privileges rife in Tunisia. Pasquale Stanislao Mancini, Italy's most famous scholar of international law, had occasion to comment on this law during a drawn-out legal battle over the estate of a Tunisian Jew named Nissim Shamama. 32 Mancini explained that the law was intended to 31. Qānūn al-dawla, ch. 12, art. 7, https://www.justice.gov.tn/fileadmin/medias/ministere/ musee/constitution_1861_ar.pdf (August 4, 2021).
32. On this case, see Abdelhamid Larguèche, "Nasim Shammama ; un caïd face à lui-même et face aux autres," in Juifs et musulmans en Tunisie : fraternité et prevent foreign powers from using naturalization as "a pretext for the illegitimate extension of their jurisdiction." 33 General Husayn b. 'Abdallah, a former slave (mamlūk) and a Tunisian government official charged with representing the Bey of Tunis's interests in the Shamama case, agreed; he also explained that the relevant article in the Qānūn al-dawla was written in response to the rampant abuses of extraterritoriality in Tunisia. 34 Ottoman attempts to regulate nationality responded to similar challenges. Most Ottoman historians have focused on the 1869 nationality law as the first formal regulation of membership in the empire. In fact, a circular issued 6 years earlier-attempting to regulate consular protection should be seen as the first formal legislation of legal belonging. The circular of 1863 stated that consular protection could no longer extend to family members, be inherited by descendants, or attach to individuals working for individual foreigners (as opposed to foreign consulates). 35 Moreover, the number of employees eligible for consular protection was strictly limited: four guards and four dragomen (translators) for consulates general; three each for subsidiary consulates; and two each for vice-consulates. 36 This regulation had the effect of severely limiting the number of individuals who could claim consular protection in the Ottoman Empire. When consular protection is understood as a form of legal belonging, this circular is seen clearly as an attempt to regulate membership in the Ottoman State by limiting the number of Ottoman subjects who could claim foreign protection, and thus extraterritorial privileges. The problem was that the 1863 circular on consular protection could not dampen individuals' desire to seek out the advantages of extraterritoriality. Once it became extremely difficult to obtain a patent of protection, Ottoman subjects instead turned to foreign naturalization; the circular said nothing about foreign nationals, whose rights to extraterritoriality remained unchanged. This is the context in which the Ottoman nationality law of 1869 was passed. 37 Scholars writing in the decades following the law's promulgation had no doubt that the law attempted to curb the increase in individuals with extraterritorial privileges. Pierre Arminjon, a French jurist working in Cairo, explained that the nationality law was directly related to the Ottoman edict of 1863 that sought to limit consular protection. 38 The law of 1869 addressed the new wave of foreign naturalizations by making it harder for Ottomans to denaturalize: "But if [an Ottoman subject] should enter into a foreign nationality without being authorized by the Imperial Ottoman Government, his new nationality shall be considered as null and void, and he shall be considered as an Ottoman subject as before. . .." 39 There were undoubtedly other factors weighing on the decision to pass the 1869 legislation: a general impetus toward legal and political reform (usually described as the Tanzimat), and international relations, particularly those with Qajar Persia. 40 But the main impetus driving the new rules regarding legal belonging was the dramatic increase in the number of individuals benefiting from extraterritoriality.
Unsurprisingly, the Ottoman nationality law did not resolve all questions regarding legal membership in the empire. Subsequent cases involving changes of nationality played out in the competition over jurisdiction between Ottoman authorities and Western states. named Antoine Zelitz-who was originally from Austro-Hungary, but had lived in Istanbul for 30 years-naturalized as an Ottoman in 1872. When the Ottoman Ministry of Foreign Affairs wrote to the Austro-Hungarian Embassy to inform them that Zelitz was no longer entitled to their protection, Count Ludolf, the ambassador, rejected Zelitz's claim to Ottoman nationality. 41 Ludolf argued that Austro-Hungary required its subjects to request permission from the government before expatriating themselves and acquiring a different nationality, just as the Ottoman nationality law required of Ottoman subjects. 42 But the Ottoman authorities dug their heels in, insisting that Zelitz was a subject of the Sultan. The prime minister and the minister of foreign affairs argued that it was an attack on Ottoman sovereignty to require approval from a foreign government for the application of Ottoman nationality law. 43 Zelitz was the rare foreigner who voluntarily opted to give up his extraterritorial privileges, a trend that Ottoman officials wanted to encourage. 44 The two states remained in deadlock, each insisting that Zelitz legally belonged to them. The Zelitz case reflected challenges posed by the application of nationality law in an extraterritorial context in which Austro-Hungary might still lay a robust claim to jurisdiction over a person that the Ottoman bureaucracy considered to be an Ottoman subject. 45 Unlike in Tunisia and the Ottoman Empire, authorities in Morocco never formally legislated legal belonging before the colonial period. Nonetheless, the emergence of a category corresponding to Moroccan nationality crystallized in the context of extraterritoriality. Like the Ottoman and Tunisian governments, the Moroccan makhzan (central government) was faced with ever-growing numbers of individuals who claimed extraterritorial privileges as foreigners or as foreign protégés. It was increasingly common for Moroccan subjects to travel abroad, obtain foreign nationality, and then return to Morocco to benefit from extraterritorial privileges. The American jurist Elihu Root noted that in the early twentieth century, half of the These abuses of extraterritoriality were thrust into the limelight in 1880, as a number of Western states prepared for an international conference intended in part to solve these problems. The Moroccan Foreign Minister, Muhammad Bargash, wrote a letter to all the foreign ambassadors in which he lamented "the harm done to the state by those Moroccan subjects (al-ra'īya al-Marākshīya) who ask for documents of naturalization (al-nāt ̣ūrālīzāsiyūn) and then claim that they are outside the rules of the Moroccan government (khārijūn 'an ah ̣kām al-wilāyati al-Marākshīya)." 47 Bargash then quoted a decree from the Sultan, Mawlay Hasan, declaring that henceforth he would "not accept that any of his subjects, Muslim or Jew, exchange his nationality for another one (abdala ra'īyatahu bi-ra'īyatihi ukhrā)." 48 Bargash's letter was studiously ignored by the foreign ambassadors to whom it was addressed. Nonetheless, his words represent an attempt to regulate and define Moroccan legal belonging in the context of growing numbers of Moroccans claiming extraterritorial privileges.
The Treaty of Madrid, signed the following summer, offered Morocco's first formal regulation of legal belonging. 49 Mawlay Hasan failed in his attempt to prevent all Moroccan subjects from naturalizing abroad. Nonetheless, the Moroccan delegates at the conference managed to limit the extent to which Moroccans could benefit from extraterritorial privileges after having obtained a foreign nationality. Article 15 declared: "Any subject of Morocco (jamī'u al-ra'īyati al-marākushīyati) who has been naturalized (akhadhū al-naṭuralizīs) in a foreign country, and who shall return to Morocco, shall after having remained for a length of time equal to that which shall have been regularly necessary for him to obtain such naturalization, choose between entire submission to the laws of the Empire and the obligation to quit Morocco . . . ." 50 This regulation of Moroccan nationality-like its Tunisian and Ottoman equivalents-focused on those Moroccans who were naturalized abroad, and then returned to Morocco with extraterritorial privileges. In attempting to curb the numbers of Moroccan subjects who acquired extraterritoriality, the Treaty of Madrid took the first steps in defining rules for the legal belonging of Moroccans. Of course, the existence of laws governing legal belonging in the Ottoman Empire, Tunisia, and Morocco hardly solved the problem of people whose state membership remained a point of contention. The process of determining legal belonging often remained highly personal; it was quite common to resort to local religious leaders-especially rabbis and priests-to establish an individual's status. For instance, when the heirs of Joseph Zédéan contested the nationality of their deceased relative, both Ottoman and Greek diplomats turned to religious leaders. The Greek consulate consulted the registers of the Armenian Catholic church in Büyükdere (a neighborhood of Istanbul), which confirmed that Zédéan died a Greek national. 51 The Ottoman minister of foreign affairs countered that according to the patriarch of the Armenian Catholic Church in Istanbul, Zédéan belonged to "an old Istanbul family, who is inscribed in the registers under the name of Joseph Siméon," and that Zédéan "never left this city to go abroad." 52 In the absence of even an attempt at a universal identification regime, Ottoman officials resorted to those who already possessed authority within their community to vouch for their constituents.
Ottoman, Tunisian, and Moroccan officials all tried to reign in the explosion of extraterritoriality and its concomitant abuses by defining legal belonging. Because of this, nationality regulations in all three states primarily concerned expatriation-the loss of legal belonging-whereas the attribution or acquisition of legal belonging was either dealt with summarily (as in the Ottoman law) or ignored completely (as in the Tunisian and Moroccan cases). All of these states had to define who legally belonged if they wanted to curb the proliferation of individuals with extraterritorial privileges.

Extraterritoriality and Legal Belonging in the French Colonial Maghrib
As with the fight over Joseph Zédéan's inheritance, the battle for jurisdiction over 'Abdallah Shamīla boiled down to his legal belonging. and outside of Algeria-was very much up for debate. Ultimately, the decision to consider Algerians like Shamīla as French nationals was made in large part with extraterritoriality in mind. The extraterritorial context of determining Algerians' legal belonging demonstrates that Muslim-ruled states were not the only polities in the Mediterranean who shaped their nationality law in response to the capitulations. In metropolitan Europe, nationality legislation was primarily informed by pressing issues in the metropole, particularly immigration, military services, political rights, and, especially for "sending" countries like Italy, emigration. 53 But the promise of extraterritorial privileges for colonial subjects was crucial to shaping legal belonging in European empires. The status of Algerians outside of Algeria-under French rule since 1830-offers a particularly good example of how extraterritoriality shaped imperial legal belonging.
Algerians were eligible for French protection when they traveled outside of Algeria, meaning that they enjoyed more or less the same kinds of extraterritorial privileges granted to French nationals from the metropole. Yet it took decades for French jurists and legislators to determine the precise legal status of Algerians. This is another instance in which the spectrum of legal belonging helps to clarify a history often obscured in the scholarly literature. 54 Algerians under French protection were not citizens, nor were they consular protégés; yet they belonged to France, often in ways that French officials themselves argued over. When French jurists and legislators finally clarified the condition of Algerians-determining that they were French nationals, but not citizens (unless they had naturalized as such)-they based their decision in large part on the protection enjoyed by Algerians outside of Algeria.
Scholarship on the question of legal belonging in Algeria has been premised on a dichotomy of citizen versus subject. Historians have focused on the denial of full citizenship to Algerians, who were barred from political rights and thus from full membership in the French state. 55 Many have also written on the granting of citizenship to Jews by the Crémieux decree of 1870. 56 And post-colonial historians in particular have noted the ways in which citizenship regimes shaped decolonization, and vice versa. 57 But the influence of extraterritoriality on the legal belonging of Algerians has yet to be fully explored and constitutes an important example of how nationality laws in the French Empire responded to the promises and perils of the capitulations. 58 Immediately after colonization began, French authorities encountered questions about the status of Algerians living elsewhere in the Mediterranean. French forces descended on Algiers on July 5, 1830. That same month, a Jew claiming Algerian origins requested protection from the French consulate in Smyrna (Izmir); he wanted to benefit from the extraterritorial privileges granted to Europeans, now that his homeland was under French rule. On August 2, the local consul wrote to his superiors at the Ministry of Foreign Affairs asking for instructions. 59 Increasing numbers of similar cases prompted the Ministry of Foreign Affairs to issue a circular in 1834, 5 months before the formal annexation of Algeria. The circular determined which Algerians abroad were eligible for French protection. Those who had left Algeria and intended to return (that is, who conserved an "esprit de retour") "have retained their quality of an Algerian (qualité d'algérien) and thus are able to invoke the protection of His Majesty's agents." 60 This circular offered clear instructions to French diplomats: they had a duty to extend extraterritorial privileges to those determined to still have the "quality of an Algerian." 61 But affirming Algerians' right to French protection abroad hardly settled the matter of their nationality. The 1834 circular attached Algerians to French sovereignty, affirming that in some way, possessing the "quality of an Algerian" meant that they belonged to France. But how to define this belonging, and its precise contours, remained unclear. Nor were French imperial authorities alone in both extending protection to Algerians, and refraining from defining their status. The British government similarly asserted its jurisdiction over colonial subjects both inside and outside their Empire, without precisely saying what this meant. 62 The policy of extending protection to Algerians abroad was controversial in French political circles. Officials in Paris worried about angering the Ottoman government by declaring thousands of Muslims living in Ottoman territory to be French subjects more or less overnight. But those with an eye to expanding France's Mediterranean empire realized that more people under French protection would translate into increased French influence. 63 And conveniently, the ad hoc way in which individuals were to prove their qualité d'algérien-and thus qualify for French protection-left French authorities a lot of wiggle room in deciding just how much or little to expand their influence in a particular place. According to the 1834 circular, Algerians who left after 1830 should have obtained a passport from the French authorities to travel outside the empire; this would serve as evidence of their status. As for the many who had left Algeria before 1830, "in the absence of fixed rules, which the customs of the Orient make it impossible to identify precisely, I can only entrust the consuls of [France] to form their opinions according to the circumstances of fact and place." 64 In other words, the practices regulating Algerians' status gave French consuls considerable room for maneuver. Although Algerians were technically required to register at their local French consulate each year to maintain their entitlement to protection, consuls had much leeway in determining who was and was not Algerian. 65 This meant that French diplomats could expand or contract the number of Algerians benefiting from French protection depending on their interests.
France often used the extraterritorial privileges of its Algerian subjects as an excuse to meddle in the internal affairs of foreign polities. For instance, in 1865, the French consul in Tunis sent a French warship to the port of La Goulette following incidents in which Algerians had been made to pay taxes or were corporally punished by Tunisian officials. He gave the Bey 24 hours to give him "satisfaction," which in this context meant compensation and assurances that such incidents would not be repeated. 66 In 1895, the French consuls in Safed and Beirut tried to convince a group of Algerians who had settled in the region to register with the French consulate. This was a way of increasing the number of people under their protection, and thus their influence-particularly desirable in the sensitive province of Palestine, where Safed was located. 67 Ottoman officials naturally resented these sorts of demands. They made a concerted effort to limit French influence on their internal affairs by forcing Algerians to naturalize as Ottoman subjects. 68 And as we saw in the case of Shamīla, Ottoman authorities often refused to recognize certain individuals as Algerians, claiming that they were Ottoman subjects who had merely lied about their origins to acquire extraterritorial privileges. 69 Yet as frustrating as these privileges proved for Ottoman officials, French protection was a two-way street; individuals claiming Algerian status could manipulate the political circumstances to their advantage. In the decades after French conquest, many of the Algerians who left Algeriaincluding those who sought to escape colonial rule-successfully claimed extraterritorial privileges in French consulates across the Ottoman Empire, Tunisia, and Morocco. 70 Still, the legal belonging of Algerians remained unclear, both within and outside of French territory. Their status came up in the writings of reformers such as Ismail Urbain, among the most famous Saint-Simonians whose ideas greatly influenced French policy in Algeria. Urbain believed that Algerians should be offered a clear path toward assimilation to France and, eventually, French citizenship. His argument rested in part on the fact that "concerning nationality, natives (indigènes) must be French. Once they travel abroad, France's political protection follows them everywhere, and they know how to take advantage of it." 71 According to Urbain, French authorities had determined the de facto nationality of Algerians through diplomatic practice, if not yet through legislation.
It was not until the 1860s that French jurists defined the legal belonging of Algerians. A case concerning Élie-Léon Enos, an Algerian Jewish lawyer who asked to be admitted to the bar in Algiers, first forced French courts to adjudicate the nationality of Algerians. 72 The Algiers bar refused Enos admission, explaining that as a "native" (indigène), he was not entitled to the rights of a French citizen, a prerequisite for membership. The Imperial Court of Algiers upheld this decision, explaining that "natives" were not French citizens. Even so, the judges felt compelled to acknowledge that "everywhere in the world where he goes, a Muslim or Jewish native (indigène) need only invoke his quality of Frenchness (qualité de Français) to be immediately protected by the French flag." 73 This amounted to an admission that Algerians were already attached to France, even if they lacked citizenship. In 1864, the Court of Cassation in Paris overturned the lower court's decision, ruling that Enos had the right to practice as a lawyer in Algeria. According to this court, Algerians were French nationals, even if they lacked full citizenship. This court, too, noted that Algerians were already considered to belong to France when abroad; in this ruling, however, the judges concluded that Algerians' status outside of Algeria was evidence that they must possess French nationality within Algeria. 74 As a French national, Enos was eligible for admission to the Algerian bar. For our purposes, the case is significant because it offered the first instance of judicial confirmation that Algerians were French nationals.
The Sénatus-Consulte of July 14, 1865 enshrined the upshot of the Enos ruling in legislation: it declared that indigenous Algerians had the qualité de français-in other words, French nationality-but were not citizens. 75 This legislation was partly a reaction to the Ottoman circular of 1863, which restricted the extension of consular protection to Ottoman subjects, the same circular that first attempted to regulate legal belonging 6 years before the Ottoman nationality law. The 1865 Sénatus-Consulte offered legislative clarification that Algerians in Ottoman territory were French nationals, not French protégés; they deserved extraterritorial privileges as French persons, a status that could be passed down to their children and was not hampered by the severe restrictions on the number of individuals who could hold a patent of protection (berat). Algerians were thus exempt from the Ottoman limitations on consular protection. 76 Beyond France's empire, the distinction between someone with the qualité de français and a French citizen came to resonate in the vocabulary of legal belonging developing in Europe. As discussed, nationality was a new term in the early nineteenth century, and jurists were only beginning to work out its precise relationship to citizenship. When Cogordan published his monograph on nationality in 1879, he insisted on a clear distinction between nationality and citizenship: "In general, a citizen is a national invested with full rights. One must not confound these two terms, as happens too often. Every national is not a citizen, although every citizen is a national. In France, for example, minors, married women, and exiles are not citizens, although they have French nationality; they have only civil rights and are deprived of political rights. Algerians do not even have civil rights; they follow Islamic law in private matters, and yet the Sénatus-Consulte of 1865 declared them French. . .." 77 Cogordan presumed that all states made a distinction between those "invested with full rights"-that is, citizens-and those who belonged to the state but were "deprived of political rights," such as women, minors, and, in the French case, Algerians.
In the following decades, jurists came to evoke Cogordan's distinction between citizenship and nationality as a given. Today it is widely accepted by jurists and legal historians alike. 78 Our understanding of the difference between nationality and citizenship is rooted in part in colonial Algeria. In sorting out the legal belonging of Algerians and their extraterritorial rights outside of Algeria, diplomats, politicians, and jurists eventually converged on a definition of nationality that would echo beyond the French Empire.
Unsurprisingly, the legislation decreeing that Algerians possessed French nationality hardly put a stop to controversies over their claims to extraterritorial privileges. Again, the case of Shamīla illustrates the uncertainty that surrounded the legal belonging of those asserting Algerian origins. In the general absence of reliable documents-including passports, birth certificates, or any other written records-French consular officials relied on religious leaders to attest the identities of people claiming various forms of extraterritoriality. This was particularly important in cases in which simple facts of language or religion might not distinguish an individual with extraterritoriality from a local, at least in the eyes of Europeans. A native speaker might have been able to distinguish an Algerian dialect of Arabic from the one in the part of Tripolitania where Shamīla lived. But presumably neither Ottoman-speaking bureaucrats from Anatolia nor French diplomats could do so. Just like their Ottoman counterparts, French consuls regularly leaned on Jewish rabbis and Muslim notables to tell them who was really from Algeria. 79 If anything, French officials felt they did not rely on religious authorities enough. In 1883, a French diplomat in Morocco wrote about the ease with which Moroccan Jews declared themselves to be Algerian and thus claimed extraterritorial rights as French citizens. He recommended that notaries writing up attestations of origin require that the "Jews called to testify should swear on the Torah Scroll before their rabbis. This formality will, I think, guarantee the sincerity of their declarations." 80 By forcing Jewish witnesses to take an oath with religious significance, this official reasoned, they would be far less likely to falsify their testimony.
France's attitude toward extraterritorial privileges for its subjects abroad changed significantly as its empire expanded across North Africa. Before 1881, Algerians outside of Algeria had provided France with a convenient excuse to assert its influence in the Ottoman Empire and Morocco. But this changed once the French Empire expanded into other parts of North Africa; in the protectorates of Tunisia and Morocco, Algerians became a liability, rather than an asset. After France colonized Tunisia in 1881, colonial officials established two different legal systems; one for Europeans, and the other for native Tunisians. Whereas France classified Tunisian Jews and Muslims as "natives," Algerian Jews and Muslims were French nationals, and thus fell under the jurisdiction of Tunisia's French courts. Many French officials would have liked to place Algerian Jews and Muslims under the jurisdiction of Tunisian judicial institutions, but their status as French nationals gave them a right to the jurisdiction of French courts. Nonetheless, even if French officials in Tunisia could not simply turn all Algerians into Tunisians overnight, they could make it harder to prove one's status as an Algerian. After 1881, French authorities were far stricter about admitting Jews and Muslims to the privileges associated with being an Algerian. For instance, Protectorate officials enforced the requirement that only Algerians who conserved an "esprit de retour" qualified as French nationals. All those who had settled permanently in Tunisia should be considered Tunisian. 81 After the establishment of a French protectorate in Morocco in 1912, colonial authorities made similar attempts to avoid recognizing Algerian Jews and Muslims as French nationals. 82 The status of Algerians abroad-as entitled to French protection, and thus the extraterritorial privileges associated with foreign nationality-is crucial to understanding the development of legal belonging in the French Empire. The boundaries of legal belonging in France were not determined solely within the borders of French territory; legal belonging within colonial Algeria responded in part to the status of Algerians outside of Algeria. If we reinsert the imperial context into the history of nationality and citizenship in France, the extraterritorial Mediterranean emerges as central to the development of what it meant to belong to the French state. Extraterritoriality shaped the nature of legal belonging not only in the Ottoman Empire, Tunisia, and Morocco, but also in the French Empire.

Conclusion
Modern law governing legal belonging-usually called nationality lawis, on the surface, hyper-national. In fact, one might argue that all modern law is by definition national, as it originates with the state. 83 And the laws regulating nationality and citizenship are, by definition, meant to be exclusionary. Nonetheless, examining the evolution of legal belonging in the Mediterranean suggests that the regulation of state membership did not emerge in nationally bounded siloes. Even laws defining the boundaries of belonging were formed in a multi-polity, multinational context. The entwined history of extraterritoriality and legal belonging suggests that it is possible to write a transregional history of nationality law. Such a global historical approach reflects the transnational nature of extraterritoriality itself: a projection of jurisdiction, and thus sovereignty, across territorial lines.
This Mediterranean-wide lens helps move beyond the centrifugal model of modernization that continues to influence scholarship. Modern regimes of legal belonging did not emerge fully formed in Europe, only to be imitated by Muslim polities some time later. Rather, the entanglement of extraterritoriality and legal belonging offers an example of how modern law was created in conversation across the supposed East/West divide. New approaches to legal belonging developed in the context of extraterritorial privileges, and thus across cultural, political, and jurisdictional lines. Putting Europe and the Islamic Mediterranean into a single analytic frame offers further ammunition against stereotypes of East versus West or traditional versus modern.
The case studies explored here are, of course, far from comprehensive; they are meant to demonstrate the benefits of a transregional approach to the legal history of both extraterritoriality and legal belonging. As such, they should be read as an invitation to pursue further research at both the micro and macro levels. Many questions remain outstanding: how did Ottoman, Tunisian, and Moroccan lower-and mid-level officials respond to the threat posed by increasing numbers of people with extraterritorial privileges? In other words, other than attempting to legislate legal belonging, in what ways did Middle Eastern polities respond to claims of extraterritoriality? Conversely, who were the individuals claiming foreign nationality and protection? How did their pursuit of extraterritorial privileges respond to the new regulations of legal belonging? While scholars have begun to answer these questions, there is much work left to be done. The study of legal belonging and extraterritoriality across the Mediterranean offers much promise, particularly for historians of law interested a globalized approach that transcends the boundaries within which legal history has traditionally been written.