Mistreatment of the Moorish population in Morocco led to an uprising and the loss of all North African possessions except for the enclaves of Ceuta and Melilla in 1921. Abd el-Krim, Annual. In order to avoid accountability, the king Alfonso XIII decided to support the dictatorship of general Miguel Primo de Rivera.
The expulsion of the Muslims was reputedly started by the first King of Asturias, named Pelayo (718-737), who started his fight against the Moors in the mountains of Covadonga (722). Later, his sons and descendants continued with his work until all of the Muslims were expelled. Meanwhile, in the east of the peninsula the Frankish emperors established the Marca Hispanica across the Pyrenees in part of what today is Catalonia, reconquering Girona in 785 and Barcelona in 801. It was a buffer zone against Islam.
Spain never entered the period of the Dark Ages such as were endured in Britain, Gaul, Lombardy and Germany. The Visigoths tended to maintain more of the old Roman institutions, and they had a unique respect for legal codes that resulted in continuous frameworks and historical records for most of the period between 415, when Visigothic rule in Spain began, and 711, when it is traditionally said to end. The proximity of the Visigothic kingdoms to the Mediterranean and the continuity of western Mediterranean trade, though in reduced quantity, supported Visigothic culture. Arian Visigothic nobility kept apart from the local Catholic population. The Visigoth ruling class looked to Constantinople for style and technology while the rivals of Visigothic power and culture were the Catholic bishops— and a brief incursion of Byzantine power in Cordoba.
The Castilian-derived Spanish (called both Español and Castellano in the language itself) is the official language throughout Spain, but other regional languages are also spoken. Without mentioning them by name, the Spanish Constitution recognizes the possibility of regional languages being coofficial in their respective autonomous communities.
Spain's natural surroundings have helped shape the culture of the nation. The success of the Basques in maintaining a separate culture over a period of millennia has doubtless been aided by the mountainous geography of their region. Several separate parts of Spain have strong maritime traditions, including inland ports on rivers: Seville, for example, was a major port until the Guadalquivir silted up. Since the availalability of mass air transport, Spain's Mediterranean beaches, especially those along the Costa del Sol, have drawn millions of tourists, providing considerable revenue (and enormous contact with the outside world) to a long-depressed and isolated area of the country.
Historically, various regions of Spain had quite distinct regional dress. Today, most people in Spain dress in a manner comparable to most other contemporary Europeans, although some regional variations persist. Dress in Extremadura and in the smaller cities of Castile remains relatively austere, even on festive occasions, while Andaluz dress on festive occasions is elaborate and ostentatious. Barcelona is one of the most stylish cities in Europe, though more restrained and with a more determinedly timeless style than Paris or Milan.
Terrorism is a problem of present-day Spain, since ETA (Basque Homeland and Freedom) is trying to achieve Basque independence through violent means, including bombings and murders. Although Basque Autonomous government does not condone any kind of violence, the different approaches to the problem are a source of tension between Central and Basque governments. Besides ETA violence, the conflict in the Basque Country is also shaped by the non-acceptance on the part of the spanish state of the right of basque people to choose freely their political status. Recently, 2 political parties - which in previous elections had received the support of around 15% of the popular vote- have been banned due to their negative to condemn publicly ETA violence in the terms that the main spanish political parties wanted.
A revived movement for the Christian unification of Spain was capitalized on by the "Catholic monarchs" (Reyes Católicos in Spanish) Isabel I of Castilla and Fernando II of Aragón in order to justify their invasion of Granada, the expulsion of the Jews and the forceful conversion of the Moors. In the 15th century, the Kingdoms of Castile and Aragon were united under Isabel and Fernando. These two able rulers ruled jointly and worked to consolidate the power of the monarchy at the expense of the nobility. During their reign, the castles of many nobles (symbols of aristocratic independence from the monarchy) were demolished, and a system of regular taxation was established. Fernando and Isabel established the basis for the unification of Spain religiously as well as politically and economically.
On February 20th 2005, Spain became the first country to allow its people to vote on the European Union constitution that was signed in October 2004. The rules states that if any country rejects the constitution then the constitution will be declared void. The final result was very strongly in affirmation of the constitution, making Spain the first and so far only country to approve the constitution via referendum.
Spain is considered by many, including a large part of Spanish population, to be a group of nations unified under a single State, much like Belgium, Switzerland or the United Kingdom. Despite this, the policy of many Spanish governments has led to a "Spanish nationhood" which is the one people identify with Spain internationally.
The most important minority group in the country are the Gitanos. Other indigenous minorities are Mercheros (or Quinquis) and Vaqueiros de alzada.- The latter, meaning "Mountain cow-breeders" dwell in mountain ranges in the Principality of Asturias and have kept historically apart from the valley dwellers. Foreign minorities include South Americans from countries like Argentina, Ecuador or Colombia; black Africans; Arabs and Berbers mainly from Morocco and other countries of North Africa; and Asians from China, Japan, Korea, and Vietnam.
The Romans arrived in the Iberian peninsula during the Second Punic war in the 2nd century B.C., and annexed it under Augustus after two centuries of war with the Celtic and Iberian tribes and the Phoenician, Greek and Carthaginian colonies becoming the province of Hispania. Some of Spain's present languages, religion, and laws originate from this Roman period.