Except for the subtropical Canary Islands, Spain can be divided into areas experiencing, respectively, a Mediterranean climate; a climate dominated by the Atlantic Ocean; and (in the inner areas) a rather extreme climate with hotter summers and colder winters than nearer the coasts. The generally warm and relatively dry summers have led to a culture in which a lot of life is lived outdoors, whether on a patio in the courtyard of a building or on a public plaza. In Madrid, many of the most popular nightclubs move for several months in the summer to an outdoor terrasa much farther from the center of town than their indoor winter location, continuing in a way the older tradition of the verbena (fair). In the Mediterranean areas (and in the Canary Islands), outdoor meals can be a nearly year-round phenomenon.
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.
The 20th century initially brought little peace; colonisation of Western Sahara, Spanish Morocco and Equatorial Guinea was attempted as a substitute for the loss of the Americas. A period of dictatorial rule (1923-1931) ended with the establishment of the Second Spanish Republic. The Republic offered political autonomy to the Basque Country and Catalonia and gave voting rights to women. However, with increasing political polarisation and pressure from all sides, coupled with growing and unchecked political violence, the Republic ended with the outbreak of the Spanish Civil War in July 1936. Following the victory of the nationalist forces in 1939, General Francisco Franco ruled a nation exhausted politically and economically until his death in 1975.
The dictatorship of Miguel Primo de Rivera collapsed in 1930. Disgusted with the king's involvement in it, urban population voted for republican parties in the municipal elections of April 1931. The king was forced to resign and a republic was established.
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.
According to the latest official poll, 80% of Spaniards self-identify as Catholic, 12% as non-believer, and 1% as other (the remaining 7% declined to state). Of the 1.4% identifying as other, 29% identified as Evangelical Christian, 26% as Jehovah's Witnesses and 3% as Muslim (the rest either mentioned smaller religions or declined to state). According to the same poll, 73% believe in God, 14% don't and 12% are unsure (1% declined to state). Additionally, according to this poll, only 41% believe in Heaven. 24% of the Spaniards think that the Bible is just a fable. Only 25% of Catholics go to church at least once a week.
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 latter years of Franco's rule saw some economic and political liberalization, the so-called Spanish Miracle, including the birth of a tourism industry. Francisco Franco ruled until his death on November 20th 1975 when control was given to King Juan Carlos. In the last few months before Franco's death, the Spanish state went into a paralysis. This was capitalized upon by King Hassan of Morocco, who ordered the 'Green March' into Western Sahara, Spain's last colonial possession.
Spain suffered a shocking terrorist attack, the March 11, 2004 Madrid attacks on its capital's commuter train network, killing 200. Al-Qaeda has been blamed for this attack. Some have attributed the fall of the Aznar government to this attack, which took place just two days before the 2004 elections. At first the public believed ETA was responsible for the bombing. When they learned Al-Qaeda was the true culprit, many voters lashed out at the media and Aznar's government, believing the two had colluded to deceive the public.
Mainland Spain is dominated by high plateaus and mountain ranges such as the Pyrenees or the Sierra Nevada. Running from these heights are several major rivers such as the Tajo, the Ebro, the Duero, the Guadiana and the Guadalquivir. Alluvial plains are found along the coast, the largest of which is that of the Guadalquivir in Andalusia, in the east there are alluvial plains with medium rivers like Segura, Júcar and Turia. Spain is bound to the east by Mediterranean Sea (containing the Balearic Islands), to the north by the Bay of Biscay and to its west by the Atlantic Ocean, where the Canary Islands off the African coast are found.
Spain remained officially neutral in World Wars I and II, but suffered through a devastating Civil War (1936-39). During Franco's rule, Spain remained largely economically and culturally isolated from the outside world, but slowly began to catch up economically with its European neighbors. Under Franco, Spain actively sought the return of Gibraltar by the UK, and gained some support for its cause at the United Nations. During the 1960s, Spain began imposing restrictions on Gibraltar, culminating in the closure of the border in 1969. It was not fully reopened until 1985.
Spain is a constitutional monarchy, with a hereditary monarch and a bicameral parliament, the Cortes Generales or National Assembly. The executive branch consists of a Council of Ministers presided over by the President of Government (comparable to a prime minister), proposed by the monarch and elected by the National Assembly following legislative elections.
The period of Visigothic rule saw the spread of Arianism briefly in Spain. In 587, Reccared, the Visigothic king at Toledo, having been converted to Catholicism put an end to dissension on the question of Arianism and launched a movement in Spain to unify the various religious doctrines that existed in the land. The Council of Lerida in 546 constrained the clergy and extended the power of law over them under the blessings of Rome.
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.
Spanish rule in Morocco ended in 1956. Though militarily victorious in the 1957-1958 Moroccan invasion of Spanish West Africa, Spain gradually relinquished its remaining African colonies. Spanish Guinea was granted independence as Equatorial Guinea in 1968, while the Moroccan enclave of Ifni had been ceded to Morocco in 1969.