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.
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 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.
In 1499, about 50,000 Moors in Granada were coerced by Cardinal Cisneros into mass baptisms and conversion. During the uprising that followed (known as the First Rebellion of the Alpujarras), people who refused the choices of baptism or deportation to Africa, were systematically eliminated. What followed was a mass flee of Moors, Jews and Gitanos from Granada city and the villages to the mountain regions (and their hills) and the rural country, however by 1500 Cisneros reported that "There is now no one in the city who is not a Christian, and all the mosques are churches".
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.
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.
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.
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.
In order to understand the political forces and debates in Spain we have to consider two dimensions: the Right vs. Left dimension and the Nation State vs. Plurinational State dimension. The political parties agendas and the individual citizens opinions can only understood when situated on both dimensions. The Constitution of the Kingdom of Spain states that 1) it is a Nation and 2) that it is formed by Nationalities and Regions. This statement is a contradiction (since Nationality and Nation essentially mean the same thing in political theory), but it was an agreement that struck a balance between the political parties advocating the nation state and those advocating the plurinational state. The territorial organization of Spain into Autonomous Communities of Spain is the administrative realization of this constitutional balancing act.
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.
In 1898 Spain lost the Spanish-American War. Cuba gained its independence, and Spain lost its remaining New World colonies—Guam, the Philippines, and Puerto Rico—to the United States. Spain's colonial possessions were reduced to Spanish Morocco, Western Sahara and Equatorial Guinea.