As the Roman empire declined, the Suebi, Vandals and Alans each took control of part of Hispania. In the 5th century AD the Visigoths, a romanized germanic tribe, conquered all of Hispania and established a relatively stable kingdom lasting until 711, when it fell to an invasion by Islamic North African Moors and became part of the expanding Umayyad empire, under the name of Al-Andalus. When the Umayyad empire gave way to the Abbaside empire, an Umayyad exile established the Caliphate of Cordoba, effectively making Al-Andalus independent from the empire.
While the siesta — an hours-long mid-afternoon break from work — is generally in decline, the typical rhythm of the day in Spain remains relatively distinct from the European norm. Many shops and some museums (though relatively few other businesses) still split their hours into two distinct periods of opening with a two or three hour break in the middle; a paseo (stroll) in the early evening remains a common custom in many smaller cities and to some extent even in the larger ones; the dinner hour is the latest in Europe, typically about 10 p.m.; nightlife begins accordingly late, with many dance clubs (even in relatively small cities) opening at midnight and staying open until dawn; in Madrid in the summer there is nothing unusual about a live musical performance being scheduled for one or two o'clock in the morning.
Modern Spain began to take form during the Reconquista, the struggle between the Christian kingdoms arising in the northern regions left unconquered by the Moors and the Muslim kingdoms into which Al-Andalus eventually split.
As recently as the mid-20th-century, much of Spain (especially outside of the major cities) remained quite distinct from the rest of Europe. In 1954, V.S. Pritchett could still write of small Spanish towns, "The inn, if there is one, will not be a hotel, nor even a fonda — the Arab word — but perhaps a posada: a place one can ride into with a mule or a donkey, where one can stable an animal and lie down oneself on a sack of straw, the other side of the stall." [Pritchett, 1954 p. 46-47] However, especially since the 1975 death of Francisco Franco, Spain has become increasingly European; Pritchett's rustic posada would be unimaginable today.
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.
Under the Bonaparte, Spain failed to embrace the mercantile and industrial revolutions of the 18th century, and also failed to absorb the ideals that of the Enlightenment that were revolutionizing European thought. These missed opportunities, combined with the economic failures of the 17th century, caused the country to fall desperately behind Britain, France, and Germany in economic and political power.
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 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 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.
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.
Until 1714, Spain was a loose confederation of kingdoms and statelets, under the same king, until King Philip V removed the autonomous status of the Aragonese crown. Moreover, the creation of a unified state in the 19th and 20th centuries has lead to the present situation, apparently simple, but sometimes extremely confusing. During the Second Spanish Republic (1931-1936), the Basque and Catalan were given limited self-government, which was lost after the Spanish Civil War (1936-1939) and restored in 1978 during the transition to democracy.
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.
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.
The first governments of the Republic, were center-left, headed by Niceto Alcalá-Zamora, and Manuel Azaña. In 1933, the right-wing CEDA won power; an armed rising of workers of October 1934, which reached its greatest intensity in Asturias and Catalonia, was forcefully put down by the CEDA government.