<P> 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 hundreds of African migrants tried to storm the borders of the Spanish enclaves of Melilla and Ceuta . Morocco deported hundreds of the illegal migrants . 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 . </P> <P> During the 2011--12 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 . 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 . </P> <P> Morocco has a coast by the Atlantic Ocean that reaches past the Strait of Gibraltar into the Mediterranean Sea . It is bordered by Spain to the north (a water border through the Strait and land borders with three small Spanish - controlled exclaves, Ceuta, Melilla, and Peñón de Vélez de la Gomera), Algeria to the east, and Western Sahara to the south . Since Morocco controls most of Western Sahara, its de facto southern boundary is with Mauritania . </P> <P> The internationally recognised borders of the country lie between latitudes 27 ° and 36 ° N, and longitudes 1 ° and 14 ° W. Adding Western Sahara, Morocco lies mostly between 21 ° and 36 ° N, and 1 ° and 17 ° W (the Ras Nouadhibou peninsula is slightly south of 21 ° and west of 17 °). </P>

Where is morocco located on the world map
find me the text answering this question