section_path: History/Post-independence
section_name: Post-independence
paragraph_text: Post-independence
  
  Sultan Mohammed became King in 1957. Upon the death of Mohammed V, Hassan II became King of Morocco on 3 March 1961. Morocco held its first general elections in 1963. However, Hassan declared a state of emergency and suspended parliament in 1965. In 1971 and 1972, there were two failed attempts to depose the king and establish a republic. A truth commission set up in 2005 to investigate human rights abuses during his reign confirmed nearly 10,000 cases, ranging from death in detention to forced exile. Some 592 people were recorded killed during Hassan's rule according to the truth commission.
  
  In 1963, the Sand War was fought between Algerian and Moroccan troops over Moroccan claims to parts of Algerian territory. A formal peace agreement was signed in February 1964; however, relations remained strained between the two countries following the conflict. The Spanish enclave of Ifni in the south was returned to Morocco in 1969.
  
  The Polisario movement was formed in 1973, with the aim of establishing an independent state in the Spanish Sahara. On 6 November 1975, King Hassan asked for volunteers to cross into the Spanish Sahara. Some 350,000 civilians were reported as being involved in the " Green March ". A month later, Spain agreed to leave the Spanish Sahara, soon to become Western Sahara, and to transfer it to joint Moroccan-Mauritanian control, despite the objections and threats of military intervention by Algeria. Moroccan forces occupied the territory.
  
  Moroccan and Algerian troops soon clashed in Western Sahara. Morocco and Mauritania divided up Western Sahara. Fighting between the Moroccan military and Polisario forces continued for many years. The prolonged war was a considerable financial drain on Morocco. In 1983, Hassan cancelled planned elections amid political unrest and economic crisis. In 1984, Morocco left the Organisation of African Unity in protest at the SADR 's admission to the body. Polisario claimed to have killed more than 5,000 Moroccan soldiers between 1982 and 1985. Algerian authorities have estimated the number of Sahrawi refugees in Algeria to be 165,000. Diplomatic relations with Algeria were restored in 1988. In 1991, a UN-monitored ceasefire began in Western Sahara, but the territory's status remains undecided and ceasefire violations are reported. The following decade saw much wrangling over a proposed referendum on the future of the territory but the deadlock was not broken.
  
  Political reforms in the 1990s resulted in the establishment of a bicameral legislature with Morocco's first opposition-led government coming to power. King Hassan II died in 1999 and was succeeded by his son, Mohammed VI. He is a cautious moderniser who has introduced some economic and social liberalisation. Mohammed VI paid a controversial visit to the Western Sahara in 2002. Morocco unveiled an autonomy blueprint for Western Sahara to the United Nations in 2007. The Polisario rejected the plan and put forward its own proposal. Morocco and the Polisario Front held UN-sponsored talks in New York City but failed to come to any agreement. In 2010, security forces stormed a protest camp in the Western Sahara, triggering violent demonstrations in the regional capital El Aaiún.
  
  In 2002, Morocco and Spain agreed to a US-brokered resolution over the disputed island of Perejil. Spanish troops had taken the normally uninhabited island after Moroccan soldiers landed on it and set up tents and a flag. There were renewed tensions in 2005, as dozens of African migrants stormed the borders of the Spanish enclaves of Melilla and Ceuta. In response, Spain deported dozens of the illegal migrants to Morocco from Melilla. In 2006, the Spanish Premier Zapatero visited Spanish enclaves. He was the first Spanish leader in 25 years to make an official visit to the territories. The following year, Spanish King Juan Carlos I visited Ceuta and Melilla, further angering Morocco which demanded control of the enclaves.
  
  During the 2011–2012 Moroccan protests, thousands of people rallied in Rabat and other cities calling for political reform and a new constitution curbing the powers of the king. In July 2011, the King won a landslide victory in a referendum on a reformed constitution he had proposed to placate the Arab Spring protests. In the first general elections that followed, the moderate Islamist Justice and Development Party won a plurality of seats, with Abdelilah Benkirane being designated as head of government per the new constitution. Despite the reforms made by Mohammed VI, demonstrators continued to call for deeper reforms. Hundreds took part in a trade union rally in Casablanca in May 2012. Participants accused the government of failing to deliver on reforms.
  
  On 24 August 2021, neighbouring Algeria cut diplomatic relations with Morocco, accusing Morocco of supporting a separatist group and hostile actions against Algeria. Morocco called the decision unjustified. Foreign Minister Ramtane Lamamra accused Morocco of using Pegasus spyware against its officials. Amnesty International found that two phones of Sahraoui human rights defender Aminatou Haidar were infected in November 2021.
  
  On 8 September 2023, a 6.8 magnitude earthquake hit Morocco killing more than 2,800 people and injuring thousands. The epicentre of the quake was around 70 km southwest of city of Marrakech.
  
  On 10 December 2020, the Israel–Morocco normalisation agreement was announced, and Morocco announced its intention to resume diplomatic relations with Israel. Joint Declaration of the Kingdom of Morocco, the United States of America and the State of Israel was signed on 22 December 2020. The agreement was met with criticism due to the October 2023 Gaza war. Moroccan Foreign Minister Nasser Bourita argues that maintaining relations does not signify endorsement of Israeli government actions.