At present, Spain is a constitutional monarchy, and is comprised of 17 autonomous communities. One of the most important problems facing Spain today is ETA's terrorism - this illegal organization defends Basque independence through violent means, which is condemned by both Central and Basque government, although there is tension between these governments since PNV (the party presently governing Basque Country) longs for greater autonomy from Spain, including the possibility of independence, something Spanish government doesn't accept.
Over the past thirty years, Spain has become a more secularised society. The number of believers has decreased significantly and for those who believe the degree of accordance and practice to their church is quite diverse.
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.
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.
The Napoleonic invasion gave the opportunity to the American colonies, led by Libertadores, to claim their independence. Between 1810 and 1824, Chile, Colombia, Ecuador, Venezuela, and the other colonies declared and won their independence. The only New World colonies Spain was left with were the islands of Cuba and Puerto Rico. The Allies fought Napoleon's forces in the Peninsular War, with Joseph Bonaparte ruling as king at Madrid. In 1812 the Cortes took refuge at Cádiz and created the first modern Spanish constitution, the Constitution of 1812 (informally named La Pepa).
Madrid is also noted for its nightlife and discotheques. Younger madrileños sometimes dance all night, stop off for chocolate y churros at dawn, go home, shower, shave, and go to work. This nightlife, called la movida or la marcha and initially focussed on the Plaza del Dos de Mayo, flourished after the death of Franco, especially during the 80's while Madrid's most cherished mayor Enrique Tierno Galván was in office. A particular hub for this night activity is nowadays the nearby gay village of Chueca. However, as prices continue to rise and more jobs become available, nightlife in Madrid is becoming more and more like that of other European cities such as Stockholm or Munich.
In 711, Arabs and Berbers had converted to Islam, a religion founded in the 7th century by prophet Muhammad and which by the 8th dominated all the north of Africa. A raiding party led by Tariq ibn-Ziyad was sent to intervene in a civil war in the Visigothic kingdoms in Iberia. Crossing the Strait of Gibraltar, it won a decisive victory in the summer of 711 when the Visigoth king Roderic was defeated and killed on July 19th at the Battle of Guadalete. Tariq's commander, Musa bin Nusair quickly crossed with substantial reinforcements, and by 718 the Muslims dominated most of the peninsula. The advance into Europe was stopped by the Franks under Charles Martel at the battle of Poitiers (France) in 732.
Around 1,100 BC Phoenician merchants founded the trading colony of Gadir or Gades (modern day Cádiz) near Tartessos. In the 8th century BC the first Greek colonies, such as Emporion (modern Empúries), were founded along the Mediterranean coast on the East, leaving the south coast to the Phoenicians. The Greeks are responsible for the name Iberia, after the river Iber (Ebro in Spanish). In the 6th century BC the Carthaginians arrived in Iberia while struggling with the Greeks for control of the Western Mediterranean. Their most important colony was Carthago Nova (Latin name of modern day Cartagena).
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.
Contemporary Madrid came into its own after the death of the Fascist dictator Franco. Years of the Franco regime left Madrid and much the country in economic shambles due to isolation. With his death, Madrid and Spain as a whole began to re-assert itself on the international stage. Within Spain, reaction against the dictatorial bureaucracy centered in Madrid and a history of centralism that pre-dated Franco by centuries has resulted in the successful modern movement towards increased autonomy for the regions of Spain, considered as European regions, under the umbrella of Spain.
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.
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.