Spain had established a protectorate in
Spanish Sahara in 1884 by signing agreements with leadership of the inhabitants. Between 1958 and 1975, Spanish Sahara was classified as a Spanish province, and as such, any person born in the territory was conferred Spanish nationality. Morocco gained independence in 1956, and began a nationalist campaign to rebuild
Greater Morocco and acquire any territory, by force if necessary, which had been colonized by the French or Spanish and had a shared heritage, history, or language with the Morocco. Those territories included the totalities of the French and Spanish protectorates, and neighboring territories or parts of territories of Algeria,
Mali,
Mauritania, Spanish Sahara, and others. Beginning in 1963, the United Nations attempted to resolve the issue for Spanish Sahara, focusing on decolonization and the territorial dispute over the area between Mauritania, Morocco, and Spain. The United Nations General Assembly Resolution 2229, issued on 20 December 1966, demanded that Spain consult with the persons inhabiting their territories of
Ifni and Spanish Sahara, and the governments of Mauritania and Morocco or other interested parties, and schedule a referendum for the population of those areas to determine the conditions of their decolonization. The Spanish position was that the area was a province of Spain and that the population would have to request independence. The claims of Mauritanian and Moroccan officials were that they had historical and cultural ties with the region that had been severed by colonization. A visiting mission in 1975 concluded that the inhabitants desired independence. The
International Court of Justice (ICJ) heard from all parties and on 16 October 1975 ruled that though the area had historical links with Morocco and Mauritania, the ties were insufficient to prove the sovereignty of either country over the territory at the time of the Spanish colonization. On that basis, they advised that the inhabitants had the right to self-determination. The Moroccan response to the ruling was to initiate the
Green March on 6 November 1975 and annex Spanish Sahara. On 14 November 1975, Spain, Morocco, and Mauritania signed the
Madrid Accords agreeing to establish a cooperative transitional administration over the territory, now to be known as Western Sahara. On 19 November 1975, Spain passed Law 40, which called for passage of laws to facilitate decolonizing the territory. But
Francisco Franco, Spain's head of state, died the following day and no further legislation was passed concerning processes of decolonization until 4 June 1976, when Royal Decree 2258 was issued. The decree stipulated that Sahrawis wishing to retain their Spanish nationality could apply to do so for one year, but it had a provision that applicants had to appear in Spain and could not process an application through consular services. On 27 February 1976, the
Sahrawi Arab Democratic Republic was declared by the
Polisario Front, a liberation movement for Western Sahara, and a
government-in-exile was established in
Tindouf, Algeria. Military conflict between the Sahrawi Republic, Mauritania, and Morocco broke out and continued until 1979, when Mauritania entered into an agreement with the Polisario to abandon claims to the territory. That year, Mauritania renounced its claims to the area and the Moroccan sultan extended Moroccan nationality to Sahrawis. The UN General Assembly urged Morocco in Resolution 34/37 of 21 November 1979 to enter into the peace process and allow Sahrawis to hold a referendum for self-determination, but fighting continued until 1988, when both parties agreed to an armistice and UN assistance in resolving the dispute. In 1991, the
Commission of the United Nations Mission for the Referendum in Western Sahara (MINURSO) called for the referendum to be scheduled. Unable to determine who would be allowed to participate in the process, the peace process was aborted and no referendum held. Since that time, there has been no agreement on how to define the Sahrawi people — either based on the 1974 Spanish census of the territory, inclusion of all Saharan tribes with historic ties to the territory, or the present population which because of Moroccan policy has displaced people native to the territory — and determine who would be eligible to participate in a referendum. As such, no
referendum has successfully been held to determine whether the Sahrawi people consent to a merger with another state or desire independence, and any imposed nationality upon the people by outside entities would be out of compliance with international legal norms. Normally, the requirements to gain
nationality, that is, formal legal membership in a nation, are regulated by a country's constitution, nationality law, and various international agreements to which the country is a signatory. These laws determine who is, or is eligible to be, a national of a sovereign state. The difficulty faced by the Sahrawi people is that when Spain relinquished its control over Western Sahara, no agreement established a successor state or transferred sovereignty and the state's rights and obligations. The United Nations still considers Spain to legally hold administrating power in the territory, maintaining that Morocco has no legal authority and is an occupying foreign power. However, Morocco controls 85 percent of the country and the Sahrawi Arab Democratic Republic controls the remaining fifteen percent. The Sahrawi Republic is a
partially recognized non-self-governing territory which claims sovereignty over the entirety of Western Sahara, but has limited internal administration over only a portion of the territory and no externally recognized sovereignty. ==Attempts at resolution==