Jesús Luis Cunchillos argues that the root of the term span is the Phoenician word spy, meaning "to forge metals". Therefore, i-spn-ya would mean "the land where metals are forged".[9] It may be a derivation of the Phoenician I-Shpania, meaning "island of rabbits", "land of rabbits" or "edge", a reference to Spain's location at the end of the Mediterranean; Roman coins struck in the region from the reign of Hadrian show a female figure with a rabbit at her feet,[10] and Strabo called it the "land of the rabbits".[11]

Hispania may derive from the poetic use of the term Hesperia, reflecting the Greek perception of Italy as a "western land" or "land of the setting sun" (Hesperia, Ἑσπερία in Greek) and Spain, being still further west, as Hesperia ultima.[12]

There is the claim that "Hispania" derives from the Basque word Ezpanna meaning "edge" or "border", another reference to the fact that the Iberian Peninsula constitutes the southwest corner of the European continent.[12]

Two 15th-century Spanish Jewish scholars, Don Isaac Abrabanel and Solomon ibn Verga, gave an explanation now considered folkloric. Both men wrote in two different published works that the first Jews to reach Spain were brought by ship by Phiros who was confederate with the king of Babylon when he laid siege to Jerusalem. This man was a Grecian by birth, but who had been given a kingdom in Spain. He became related by marriage to Espan, the nephew of king Heracles, who also ruled over a kingdom in Spain. Heracles later renounced his throne in preference for his native Greece, leaving his kingdom to his nephew, Espan, from whom the country of España (Spain) took its name. Based upon their testimonies, this eponym would have already been in use in Spain by c. 350 BCE.[13]

Iberia enters written records as a land populated largely by the Iberians, Basques and Celts. After an arduous conquest, the peninsula came under the rule of the Roman Empire. During the early Middle Ages it came under Germanic rule but later, much of it was conquered by Moorish invaders from North Africa. In a process that took centuries, the small Christian kingdoms in the north gradually regained control of the peninsula. The last Moorish kingdom fell in the same year Columbus reached the Americas. A global empire began which saw Spain become the strongest kingdom in Europe, the leading world power for a century and a half, and the largest overseas empire for three centuries.

Continued wars and other problems eventually led to a diminished status. The Napoleonic invasions of Spain led to chaos, triggering independence movements that tore apart most of the empire and left the country politically unstable. Prior to the Second World War, Spain suffered a devastating civil war and came under the rule of an authoritarian government, which oversaw a period of stagnation that was followed by a surge in the growth of the economy. Eventually democracy was peacefully restored in the form of a parliamentary constitutional monarchy. Spain joined the European Union, experiencing a cultural renaissance and steady economic growth.

Archaeological research at Atapuerca indicates the Iberian Peninsula was populated by hominids 1.2 million years ago.[15] In Atapuerca fossils have been found of the earliest known hominins in Europe, the Homo antecessor. Modern humans first arrived in Iberia, from the north on foot, about 35,000 years ago.[16] The best known artefacts of these prehistoric human settlements are the famous paintings in the Altamira cave of Cantabria in northern Iberia, which were created from 35,600 to 13,500 BCE by Cro-Magnon.[14][17] Archaeological and genetic evidence suggests that the Iberian Peninsula acted as one of several major refugia from which northern Europe was repopulated following the end of the last ice age.

The largest groups inhabiting the Iberian Peninsula before the Roman conquest were the Iberians and the Celts. The Iberians inhabited the Mediterranean side of the peninsula, from the northeast to the southeast. The Celts inhabited much of the inner and Atlantic sides of the peninsula, from the northwest to the southwest. Basques occupied the western area of the Pyrenees mountain range and adjacent areas, the Tartessians were in the southwest and the Lusitanians and Vettones occupied areas in the central west. A number of trading settlements of Phoenicians, Greeks and Carthaginians developed on the Mediterranean coast.

During the Second Punic War, an expanding Roman Republic captured Carthaginian trading colonies along the Mediterranean coast from roughly 210 to 205 BC. It took the Romans nearly two centuries to complete the conquest of the Iberian Peninsula, though they had control of it for over six centuries. Roman rule was bound together by law, language, and the Roman road.[18]

The cultures of the Celtic and Iberian populations were gradually Romanised (Latinised) at differing rates in different parts of Hispania. Local leaders were admitted into the Roman aristocratic class.[h][19] Hispania served as a granary for the Roman market, and its harbours exported gold, wool, olive oil, and wine. Agricultural production increased with the introduction of irrigation projects, some of which remain in use. Emperors Hadrian, Trajan, Theodosius I, and the philosopher Seneca were born in Hispania.[i]Christianity was introduced into Hispania in the 1st century AD and it became popular in the cities in the 2nd century AD.[19] Most of Spain's present languages and religion, and the basis of its laws, originate from this period.[18]

The weakening of the Western Roman Empire's jurisdiction in Hispania began in 409, when the GermanicSuebi and Vandals, together with the SarmatianAlans, crossed the Rhine and ravaged Gaul until the Visigoths drove them into Iberia that same year. The Suebi established a kingdom in what is today modern Galicia and northern Portugal. As the western empire disintegrated, the social and economic base became greatly simplified: but even in modified form, the successor regimes maintained many of the institutions and laws of the late empire, including Christianity and assimilation to the evolving Roman culture.

The Alans' allies, the Hasdingi Vandals, established a kingdom in Gallaecia, too, occupying largely the same region but extending farther south to the Douro river. The Silingi Vandals occupied the region that still bears a form of their name—Vandalusia, modern Andalusia, in Spain. The Byzantines established an enclave, Spania, in the south, with the intention of reviving the Roman empire throughout Iberia. Eventually, however, Hispania was reunited under Visigothic rule.

In the 8th century, nearly all of the Iberian Peninsula was conquered (711–718) by largely MoorishMuslim armies from North Africa. These conquests were part of the expansion of the UmayyadCaliphate. Only a small area in the mountainous north-west of the peninsula managed to resist the initial invasion.

Under Islamic law, Christians and Jews were given the subordinate status of dhimmi. This status permitted Christians and Jews to practice their religions as People of the Book but they were required to pay a special tax and had legal and social rights inferior to those of Muslims.[20][21]

Conversion to Islam proceeded at an increasing pace. The muladíes (Muslims of ethnic Iberian origin) are believed to have comprised the majority of the population of Al-Andalus by the end of the 10th century.[22][23]

Córdoba, the capital of the caliphate since Abd-ar-Rahman III, was the largest, richest and most sophisticated city in western Europe. Mediterranean trade and cultural exchange flourished. Muslims imported a rich intellectual tradition from the Middle East and North Africa. Muslim and Jewish scholars played an important part in reviving and expanding classical Greek learning in Western Europe. Some important philosophers at the time were Averroes, Ibn Arabi and Maimonides. The Romanised cultures of the Iberian Peninsula interacted with Muslim and Jewish cultures in complex ways, giving the region a distinctive culture.[23] Outside the cities, where the vast majority lived, the land ownership system from Roman times remained largely intact as Muslim leaders rarely dispossessed landowners and the introduction of new crops and techniques led to an expansion of agriculture.

In the 11th century, the Muslim holdings fractured into rival Taifa kingdoms, allowing the small Christian states the opportunity to greatly enlarge their territories.[23] The arrival from North Africa of the Islamic ruling sects of the Almoravids and the Almohads restored unity upon the Muslim holdings, with a stricter, less tolerant application of Islam, and saw a revival in Muslim fortunes. This re-united Islamic state experienced more than a century of successes that partially reversed Christian gains.

The Reconquista (Reconquest) was the centuries-long period in which Christian rule was re-established over the Iberian Peninsula. The Reconquista is viewed as beginning with the Battle of Covadonga won by Don Pelayo in 722 and was concurrent with the period of Muslim rule on the Iberian Peninsula. The Christian army's victory over Muslim forces led to the creation of the Christian Kingdom of Asturias along the northwestern coastal mountains. Shortly after, in 739, Muslim forces were driven from Galicia, which was to eventually host one of medieval Europe's holiest sites, Santiago de Compostela and was incorporated into the new Christian kingdom. The Kingdom of León was the strongest Christian kingdom for centuries. In 1188 the first modern parliamentary session in Europe was held in León (Cortes of León). The Kingdom of Castile, formed from Leonese territory, was its successor as strongest kingdom. The kings and the nobility fought for power and influence in this period. The example of the Roman emperors influenced the political objective of the Crown, while the nobles benefited from feudalism.

Muslim armies had also moved north of the Pyrenees but they were defeated by Frankish forces at the Battle of Poitiers, Frankia. Later, Frankish forces established Christian counties on the southern side of the Pyrenees. These areas were to grow into the kingdoms of Navarre and Aragon.[24] For several centuries, the fluctuating frontier between the Muslim and Christian controlled areas of Iberia was along the Ebro and Douro valleys.

The break-up of Al-Andalus into the competing taifa kingdoms helped the long embattled Iberian Christian kingdoms gain the initiative. The capture of the strategically central city of Toledo in 1085 marked a significant shift in the balance of power in favor of the Christian kingdoms. Following a great Muslim resurgence in the 12th century, the great Moorish strongholds in the south fell to Christian Spain in the 13th century—Córdoba in 1236 and Seville in 1248. The last Nasrid sultanate of Granada, a Muslim tributary state would finally surrender in 1492 to the Catholic monarchs Queen Isabella I of Castile[25] and King Ferdinand II of Aragon.[26][27][28]

In the 13th and 14th centuries, the Marinid Muslim sect based in North Africa invaded and established some enclaves on the southern coast but failed in their attempt to re-establish Muslim rule in Iberia and were soon driven out. The 13th century also witnessed the Crown of Aragon, centred in Spain's north east, expand its reach across islands in the Mediterranean, to Sicily and even Athens.[29] Around this time the universities of Palencia (1212/1263) and Salamanca (1218/1254) were established. The Black Death of 1348 and 1349 devastated Spain.[30]

The year 1492 also marked the arrival of Christopher Columbus in the New World, during a voyage funded by Isabella. Columbus's first voyage crossed the Atlantic and reached the Caribbean Islands, beginning the European exploration and conquest of the Americas, although he remained convinced that he had reached the Orient. The colonisation of the Americas started, with conquistadores like Hernán Cortés and Francisco Pizarro. Miscegenation was the rule between the native and the European cultures and people.

As RenaissanceNew Monarchs, Isabella and Ferdinand centralised royal power at the expense of local nobility, and the word España, whose root is the ancient name Hispania, began to be commonly used to designate the whole of the two kingdoms.[33] With their wide-ranging political, legal, religious and military reforms, Spain emerged as the first world power.

The unification of the crowns of Aragon and Castile by the marriage of their sovereigns laid the basis for modern Spain and the Spanish Empire, although each kingdom of Spain remained a separate country, in social, political, laws, currency and language.[34][35]

Through exploration and conquest or royal marriage alliances and inheritance, the Spanish Empire expanded to include vast areas in the Americas, islands in the Asia-Pacific area, areas of Italy, cities in Northern Africa, as well as parts of what are now France, Germany, Belgium, Luxembourg, and the Netherlands. The first circumnavigation of the world was carried out in 1519–1521. It was the first empire on which it was said that the sun never set. This was an Age of Discovery, with daring explorations by sea and by land, the opening-up of new trade routes across oceans, conquests and the beginnings of European colonialism. Spanish explorers brought back precious metals, spices, luxuries, and previously unknown plants, and played a leading part in transforming the European understanding of the globe.[37] The cultural efflorescence witnessed during this period is now referred to as the Spanish Golden Age. The expansion of the empire caused immense upheaval in the Americas as the collapse of societies and empires and new diseases from Europe devastated American indigenous populations. The rise of humanism, the Counter-Reformation and new geographical discoveries and conquests raised issues that were addressed by the intellectual movement now known as the School of Salamanca, which developed the first modern theories of what are now known as international law and human rights.

In the late 16th century and first half of the 17th century, Spain was confronted by unrelenting challenges from all sides. Barbary pirates, under the aegis of the rapidly growing Ottoman Empire, disrupted life in many coastal areas through their slave raids and the renewed threat of an Islamic invasion.[38] This was at a time when Spain was often at war with France.

The Protestant Reformation dragged the kingdom ever more deeply into the mire of religiously charged wars. The result was a country forced into ever expanding military efforts across Europe and in the Mediterranean.[39]

By the middle decades of a war- and plague-ridden 17th-century Europe, the Spanish Habsburgs had enmeshed the country in continent-wide religious-political conflicts. These conflicts drained it of resources and undermined the economy generally. Spain managed to hold on to most of the scattered Habsburg empire, and help the imperial forces of the Holy Roman Empire reverse a large part of the advances made by Protestant forces, but it was finally forced to recognise the separation of Portugal (with whom it had been united in a personal union of the crowns from 1580 to 1640) and the Netherlands, and eventually suffered some serious military reverses to France in the latter stages of the immensely destructive, Europe-wide Thirty Years' War.[40]

In the latter half of the 17th century, Spain went into a gradual decline, during which it surrendered several small territories to France and the Netherlands; however, it maintained and enlarged its vast overseas empire, which remained intact until the beginning of the 19th century.

The decline culminated in a controversy over succession to the throne which consumed the first years of the 18th century. The War of the Spanish Succession was a wide-ranging international conflict combined with a civil war, and was to cost the kingdom its European possessions and its position as one of the leading powers on the Continent.[41] During this war, a new dynasty originating in France, the Bourbons, was installed. Long united only by the Crown, a true Spanish state was established when the first Bourbon king, Philip V, united the crowns of Castile and Aragon into a single state, abolishing many of the old regional privileges and laws.[42]

The 18th century saw a gradual recovery and an increase in prosperity through much of the empire. The new Bourbon monarchy drew on the French system of modernising the administration and the economy. Enlightenment ideas began to gain ground among some of the kingdom's elite and monarchy. Military assistance for the rebellious British colonies in the American War of Independence improved the kingdom's international standing.[43]

In 1793, Spain went to war against the revolutionary new French Republic as a member of the first Coalition. The subsequent War of the Pyrenees polarised the country in a reaction against the gallicised elites and following defeat in the field, peace was made with France in 1795 at the Peace of Basel in which Spain lost control over two-thirds of the island of Hispaniola. The Prime Minister, Manuel Godoy, then ensured that Spain allied herself with France in the brief War of the Third Coalition which ended with the British victory at the Battle of Trafalgar in 1805. In 1807, a secret treaty between Napoleon and the unpopular prime minister led to a new declaration of war against Britain and Portugal. Napoleon's troops entered the country to invade Portugal but instead occupied Spain's major fortresses. The ridiculed Spanish king abdicated in favour of Napoleon's brother, Joseph Bonaparte.

Joseph Bonaparte was seen as a puppet monarch and was regarded with scorn by the Spanish. The 2 May 1808 revolt was one of many nationalist uprisings across the country against the Bonapartist regime.[44] These revolts marked the beginning of a devastating war of independence against the Napoleonic regime.[45] Napoleon was forced to intervene personally, defeating several Spanish armies and forcing a British army to retreat. However, further military action by Spanish armies, guerrillas and Wellington's British-Portuguese forces, combined with Napoleon's disastrous invasion of Russia, led to the ousting of the French imperial armies from Spain in 1814, and the return of King Ferdinand VII.[46]

During the war, in 1810, a revolutionary body, the Cortes of Cádiz, was assembled to co-ordinate the effort against the Bonapartist regime and to prepare a constitution.[47] It met as one body, and its members represented the entire Spanish empire.[48] In 1812 a constitution for universal representation under a constitutional monarchy was declared but after the fall of the Bonapartist regime Ferdinand VII dismissed the Cortes Generales and was determined to rule as an absolute monarch. These events foreshadowed the conflict between conservatives and liberals in the 19th and early 20th centuries.

Spain's conquest by France benefited Latin American anti-colonialists who resented the Imperial Spanish government's policies that favored Spanish-born citizens (Peninsulars) over those born overseas (Criollos) and demanded retroversion of the sovereignty to the people. Starting in 1809 Spain's American colonies began a series of revolutions and declared independence, leading to the Spanish American wars of independence that ended Spanish control over its mainland colonies in the Americas. King Ferdinand VII's attempt to re-assert control proved futile as he faced opposition not only in the colonies but also in Spain and army revolts followed, led by liberal officers. By the end of 1826, the only American colonies Spain held were Cuba and Puerto Rico.

The Napoleonic War left Spain economically ruined, deeply divided and politically unstable. In the 1830s and 1840s Anti-liberal forces known as Carlists fought against liberals in the Carlist Wars. Liberal forces won, but the conflict between progressive and conservative liberals ended in a weak early constitutional period. After the Glorious Revolution of 1868 and the short-lived First Spanish Republic, a more stable monarchic period began characterised by the practice of turnismo (the rotation of government control between progressive and conservative liberals within the Spanish government).

In the late 19th century nationalist movements arose in the Philippines and Cuba. In 1895 and 1896 the Cuban War of Independence and the Philippine Revolution broke out and eventually the United States became involved. The Spanish–American War was fought in the spring of 1898 and resulted in Spain losing the last of its once vast colonial empire outside of North Africa. El Desastre (the Disaster), as the war became known in Spain, gave added impetus to the Generation of 98 who were conducting an analysis of the country.

In the Basque Country, moderate Basque nationalism has coexisted with a radical nationalist movement led by the armed organisation ETA. The group was formed in 1959 during Franco's rule but has continued to wage its violent campaign even after the restoration of democracy and the return of a large measure of regional autonomy. On 23 February 1981, rebel elements among the security forces seized the Cortes in an attempt to impose a military backed government. King Juan Carlos took personal command of the military and successfully ordered the coup plotters, via national television, to surrender.

During the 1980s the democratic restoration made possible a growing open society. New cultural movements based on freedom appeared, like La Movida Madrileña. On 30 May 1982 Spain joined NATO, following a referendum. That year the Spanish Socialist Workers Party (PSOE) came to power, the first left-wing government in 43 years. In 1986 Spain joined the European Economic Community, which later became the European Union. The PSOE was replaced in government by the Partido Popular (PP) after the latter won the 1996 General Elections; at that point the PSOE had served almost 14 consecutive years in office.

On 1 January 2002, Spain fully adopted the euro, and Spain experienced strong economic growth, well above the EU average during the early 2000s. However, well publicised concerns issued by many economic commentators at the height of the boom warned that extraordinary property prices and a high foreign trade deficit were likely to lead to a painful economic collapse.[54]

On 11 March 2004 a local Islamist terrorist group inspired by Al-Qaeda carried out the largest terrorist attack in Spanish history when they killed 191 people and wounded more than 1,800 others by bombing commuter trains in Madrid.[55] Though initial suspicions focused on the Basque group ETA, evidence soon emerged indicating Islamist involvement. Because of the proximity of the 2004 election, the issue of responsibility quickly became a political controversy, with the main competing parties PP and PSOE exchanging accusations over the handling of the incident.[56] At 14 March elections, PSOE, led by José Luis Rodríguez Zapatero, obtained a plurality, enough to form a new cabinet with Rodríguez Zapatero as the new Presidente del Gobierno or Prime Minister of Spain, thus succeeding the former PP administration.[57]

Three main climatic zones can be separated, according to geographical situation and orographic conditions:[58][59][60]

The Mediterranean climate, characterised by warm and dry summers. It is dominant in the peninsula, with two varieties: Csa and Csb according to the Köppen climate classification. The Csb Zone, with a more extreme climate, hotter in summer and colder in winter, extends to additional areas not typically associated with a Mediterranean climate, such as much of central and northern-central of Spain (e.g. Valladolid, Burgos, León).

The semi-arid climate (Bsh, Bsk), located in the southeastern quarter of the country, especially in the region of Murcia and in the Ebro valley. In contrast with the Mediterranean climate, the dry season extends beyond the summer.

The oceanic climate (Cfb), located in the northern quarter of the country, especially in the region of Basque Country, Cantabria, Asturias and partly Galicia. In contrary to the Mediterranean climate, winter and summer temperatures are influenced by the ocean, and have no seasonal drought.

The below-listed list covers the average temperatures of three major cities in Spain; Madrid, Barcelona, Valencia along with Santa Cruz de Tenerife which has a significantly different climates to the predominant climate in Spain. More information regarding temperature can be found in city articles and the main article about the Spanish climate.

Average daily maximum and minimum temperatures for Madrid, Barcelona, Valencia and Santa Cruz de Tenerife[61]

The fauna presents a wide diversity that is due in large part to the geographical position of the Iberian peninsula between the Atlantic and the Mediterranean and between Africa and Eurasia, and the great diversity of habitats and biotopes, the result of a considerable variety of climates and well differentiated regions.

The vegetation of Spain is varied due to several factors including the diversity of the relief, the climate and latitude. Spain includes different phytogeographic regions, each with its own floristic characteristics resulting largely from the interaction of climate, topography, soil type and fire, biotic factors.

According to the Democracy Index of the EIU, Spain is one of the 20 full democracies in the world.

The Spanish Constitution of 1978 is the culmination of the Spanish transition to democracy. The constitutional history of Spain dates back to the constitution of 1812. Impatient with the slow pace of democratic political reforms in 1976 and 1977, Spain's new King Juan Carlos, known for his formidable personality, dismissed Carlos Arias Navarro and appointed the reformer Adolfo Suárez as Prime Minister.[62][63] The resulting general election in 1977 convened the Constituent Cortes (the Spanish Parliament, in its capacity as a constitutional assembly) for the purpose of drafting and approving the constitution of 1978.[64] After a national referendum on 6 December 1978, 88% of voters approved of the new constitution.

As a result, Spain is now composed of 17 autonomous communities and two autonomous cities with varying degrees of autonomy thanks to its Constitution, which nevertheless explicitly states the indivisible unity of the Spanish nation. The constitution also specifies that Spain has no state religion and that all are free to practice and believe as they wish.

The Spanish administration approved legislation in 2007 aimed at furthering equality between genders in Spanish political and economic life (Gender Equality Act).[65][66] However, in the legislative branch, as of July 2010 only 128 of the 350 members of the Congress were women (36.3%).[67] It places Spain 13th on a list of countries ranked by proportion of women in the lower house. In the Senate, the ratio is even lower, since there are only 79 women out of 263 (30.0%).[68] The Gender Empowerment Measure of Spain in the United Nations Human Development Report is 0.794, 12th in the world.[69]

The legislative branch is made up of the Congress of Deputies (Congreso de los Diputados) with 350 members, elected by popular vote on block lists by proportional representation to serve four-year terms, and a Senate (Senado) with 259 seats of which 208 are directly elected by popular vote and the other 51 appointed by the regional legislatures to also serve four-year terms.

Spain is organisationally structured as a so-called Estado de las Autonomías ("State of Autonomies"); it is one of the most decentralised countries in Europe, along with Switzerland, Germany and Belgium;[70] for example, all Autonomous Communities have their own elected parliaments, governments, public administrations, budgets, and resources. Health and education systems among others are managed regionally, and in addition, the Basque Country and Navarre also manage their own public finances based on foral provisions. In Catalonia, the Basque Country, Navarre and the Canary Islands, a full-fledged autonomous police corps replaces some of the State police functions (see Mossos d'Esquadra, Ertzaintza, Policía Foral and Policía Canaria).

The Government respects the human rights of its citizens; although there are a few problems in some areas, the law and judiciary provide effective means of addressing individual instances of abuse. There are allegations that a few members of the security forces abused detainees and mistreated foreigners and illegal immigrants. According to Amnesty International (AI), government investigations of such alleged abuses are often lengthy and punishments were light. Violence against women was a problem, which the Government took steps to address.

Spain provides one of the highest degrees of liberty in the world for its LGBT community. Among the countries studied by Pew Research Center in 2013, Spain is rated first in acceptance of homosexuality, with an 88% of society supporting the gay community compared to 11% who do not.[71]

The Spanish State is integrated by 17 autonomous communities and 2 autonomous cities, both groups being the highest or first-order administrative division in the country. Autonomous communities are integrated by provinces, of which there are 50 in total, and in turn, provinces are integrated by municipalities. In Catalonia, two additional divisions exist, the comarques (sing. comarca) and the vegueries (sing. vegueria) both of which have administrative powers; comarques being aggregations of municipalities, and the vegueries being aggregations of comarques. The concept of a comarca exists in all autonomous communities, however, unlike Catalonia, these are merely historical or geographical subdivisions.

Autonomous communities are the first level administrative division in the country. These were created after the 1979 and current constitution came into effect in recognition of the right to self-government to the "nationalities and regions of Spain".[72] Autonomous communities were to be integrated by adjacent provinces with common historical, cultural, and economical traits. This territorial organisation, based on devolution, is known in Spain as the "State of Autonomies".

The basic institutional law of each autonomous community is the Statute of Autonomy. The Statutes of Autonomy establish the name of the community according to its historical identity, the limits of their territories, the name and organisation of the institutions of government and the rights they enjoy according to the constitution.[73]

The government of all autonomous communities must be based on a division of powers comprising:

Catalonia, Galicia and the Basque Country, which identified themselves as "nationalities" were granted self-government through a rapid process. Andalusia also took that denomination in its first Statute of Autonomy, even though it followed the longer process stipulated in the constitution for the rest of the country. Progressively, other communities in revisions to their Statutes of Autonomy have also taken that denomination in accordance to their historical regional identity, such as the Valencian Community,[74] the Canary Islands,[75] the Balearic Islands,[76] and Aragon.[77]

The autonomous communities have wide legislative and executive autonomy, with their own parliaments and regional governments. The distribution of powers may be different for every community, as laid out in their Statutes of Autonomy, since devolution was intended to be asymmetrical. Only two communities—the Basque Country and Navarre—have full fiscal autonomy. Aside of fiscal autonomy, the "historical" nationalities—Andalusia, the Basque Country, Catalonia, and Galicia—were devolved more powers than the rest of the communities, among them the ability of the regional president to dissolve the parliament and call for elections at any time. In addition, the Basque Country, Catalonia and Navarre have police corps of their own: Ertzaintza, Mossos d'Esquadra and the Policía Foral respectively. Other communities have more limited forces or none at all, like the Policía Autónoma Andaluza[78] in Andalusia or the BESCAM in Madrid.

Nonetheless, recent amendments to existing Statutes of Autonomy or the promulgation of new Statutes altogether, have reduced the asymmetry between the powers originally granted to the "historical nationalities" and the rest of the regions.

Finally, along with the 17 autonomous communities, two autonomous cities are also part of the State of Autonomies and are first-order territorial divisions: Ceuta and Melilla. These are two exclaves located in the northern African coast.

Autonomous communities are subdivided into provinces, which served as their territorial building blocks. In turn, provinces are integrated by municipalities. The existence of both the provinces and the municipalities is guaranteed and protected by the constitution, not necessarily by the Statutes of Autonomy themselves. Municipalities are granted autonomy to manage their internal affairs, and provinces are the territorial divisions designed to carry out the activities of the State.[79]

The current provincial division structure is based—with minor changes—on the 1833 territorial division by Javier de Burgos, and in all, the Spanish territory is divided into 50 provinces. The communities of Asturias, Cantabria, La Rioja, the Balearic Islands, Madrid, Murcia and Navarre are the only communities that are integrated by a single province, which is coextensive with the community itself. In these cases, the administrative institutions of the province are replaced by the governmental institutions of the community.

As a member of NATO since 1982, Spain has established itself as a participant in multilateral international security activities. Spain's EU membership represents an important part of its foreign policy. Even on many international issues beyond western Europe, Spain prefers to co-ordinate its efforts with its EU partners through the European political co-operation mechanisms.

Spain has maintained its special relations with Hispanic America and the Philippines. Its policy emphasises the concept of an Ibero-American community, essentially the renewal of the historically liberal concept of "Hispanidad" or "Hispanismo", as it is often referred to in English, which has sought to link the Iberian Peninsula with Hispanic America through language, commerce, history and culture.

The legal situation concerning Gibraltar was settled in 1713 by the Treaty of Utrecht, in which Spain ceded the territory in perpetuity to the British Crown[80] stating that, should the British abandon this post, it would be offered to Spain first. Since the 1940s Spain has called for the return of Gibraltar. The overwhelming majority of Gibraltarians strongly oppose this, along with any proposal of shared sovereignty.[81] UN resolutions call on the United Kingdom and Spain, both EU members, to reach an agreement over the status of Gibraltar.[82][83]

The Spanish claim makes a distinction between the isthmus that connects the Rock to the Spanish mainland on the one hand, and the Rock and city of Gibraltar on the other. While the Rock and city were ceded by the Treaty of Utrecht, Spain asserts that the "occupation of the isthmus is illegal and against the principles of International Law".[84] The United Kingdom relies on de facto arguments of possession by prescription in relation to the isthmus,[85] as there has been "continuous possession [of the isthmus] over a long period".[86]

Another claim by Spain is about the Savage Islands, a claim not recognised by Portugal. Spain claims that they are rocks rather than islands, therefore claiming that there is no Portuguese territorial waters around the disputed islands. On 5 July 2013, Spain sent a letter to the UN expressing these views.[88][89]

Spain claims the sovereignty over the Perejil Island, a small, uninhabited rocky islet located in the South shore of the Strait of Gibraltar. The island lies 250 metres (820 ft) just off the coast of Morocco, 8 kilometres (5.0 mi) from Ceuta and 13.5 kilometres (8.4 mi) from mainland Spain. Its sovereignty is disputed between Spain and Morocco. It was the subject of an armed incident between the two countries in 2002. The incident ended when both countries agreed to return to the status quo ante which existed prior to the Moroccan occupation of the island. The islet is now deserted and without any sign of sovereignty.

Besides the Perejil Island, the Spanish-held territories claimed by other countries are two: Morocco claims the Spanish cities of Ceuta and Melilla and the plazas de soberanía islets off the northern coast of Africa; and Portugal does not recognise Spain's sovereignty over the territory of Olivenza.

The centre-right government of former prime minister José María Aznar worked successfully to gain admission to the group of countries launching the euro in 1999. Unemployment stood at 7.6% in October 2006, a rate that compared favourably to many other European countries, and especially with the early 1990s when it stood at over 20%. Perennial weak points of Spain's economy include high inflation,[92] a large underground economy,[93] and an education system which OECD reports place among the poorest for developed countries, together with the United States and UK.[94]

By the mid-1990s the economy had recommenced the growth that had been disrupted by the global recession of the early 1990s. The strong economic growth helped the government to reduce the government debt as a percentage of GDP and Spain's high unemployment began to drop steadily. With the government budget in balance and inflation under control Spain was admitted into the Eurozone in 1999.

Since the 1990s some Spanish companies have gained multinational status, often expanding their activities in culturally close Latin America. Spain is the second biggest foreign investor there, after the United States. Spanish companies have also expanded into Asia, especially China and India.[95] This early global expansion is a competitive advantage over its competitors and European neighbours. The reason for this early expansion is the booming interest towards Spanish language and culture in Asia and Africa and a corporate culture that learned to take risks in unstable markets.

Crop areas were farmed in two highly diverse manners. Areas relying on non-irrigated cultivation (secano), which made up 85% of the entire crop area, depended solely on rainfall as a source of water. They included the humid regions of the north and the northwest, as well as vast arid zones that had not been irrigated. The much more productive regions devoted to irrigated cultivation (regadío) accounted for 3 million hectares in 1986, and the government hoped that this area would eventually double, as it already had doubled since 1950. Particularly noteworthy was the development in Almería—one of the most arid and desolate provinces of Spain—of winter crops of various fruits and vegetables for export to Europe.

Though only about 17% of Spain's cultivated land was irrigated, it was estimated to be the source of between 40-45% of the gross value of crop production and of 50% of the value of agricultural exports. More than half of the irrigated area was planted in corn, fruit trees, and vegetables. Other agricultural products that benefited from irrigation included grapes, cotton, sugar beets, potatoes, legumes, olive trees, mangos, strawberries, tomatoes, and fodder grasses. Depending on the nature of the crop, it was possible to harvest two successive crops in the same year on about 10% of the country's irrigated land.

Citrus fruits, vegetables, cereal grains, olive oil, and wine—Spain's traditional agricultural products—continued to be important in the 1980s. In 1983 they represented 12%, 12%, 8%, 6%, and 4%, respectively, of the country's agricultural production. Because of the changed diet of an increasingly affluent population, there was a notable increase in the consumption of livestock, poultry, and dairy products. Meat production for domestic consumption became the single most important agricultural activity, accounting for 30% of all farm-related production in 1983. Increased attention to livestock was the reason that Spain became a net importer of grains. Ideal growing conditions, combined with proximity to important north European markets, made citrus fruits Spain's leading export. Fresh vegetables and fruits produced through intensive irrigation farming also became important export commodities, as did sunflower seed oil that was produced to compete with the more expensive olive oils in oversupply throughout the Mediterranean countries of the EC.

The climate of Spain, its geographic location, popular coastlines, diverse landscapes, historical legacy, vibrant culture and excellent infrastructure, has made Spain's international tourist industry among the largest in the world. In the last five decades, international tourism in Spain has grown to become the second largest in the world in terms of spending, worth approximately 40 billion Euros or about 5% of GDP in 2006.[106][107]

Spain is one of the world's leading countries in the development and production of renewable energy. In 2010 Spain became the solar power world leader when it overtook the United States with a massive power station plant called La Florida, near Alvarado, Badajoz.[109][110] Spain is also Europe's main producer of wind energy. In 2010 its wind turbines generated 42,976 GWh, which accounted for 16.4% of all electrical energy produced in Spain.[111][112][113] On 9 November 2010, wind energy reached an instantaneous historic peak covering 53% of mainland electricity demand[114] and generating an amount of energy that is equivalent to that of 14 nuclear reactors.[115] Other renewable energies used in Spain are hydroelectric, biomass and marine (2 power plants under construction).[116]

Non-renewable energy sources used in Spain are nuclear (8 operative reactors), gas, coal, and oil. Fossil fuels together generated 58% of Spain's electricity in 2009, just below the OECD mean of 61%. Nuclear power generated another 19%, and wind and hydro about 12% each.[117]

Spain has the most extensive high-speed rail network in Europe, and the second-most extensive in the world after China.[120][121] As of October 2010, Spain has a total of 3,500 km (2,174.80 mi) of high-speed tracks linking Málaga, Seville, Madrid, Barcelona, Valencia and Valladolid, with the trains reaching speeds up to 300 km/h (190 mph). On average, the Spanish high-speed train is the fastest one in the world, followed by the Japanese bullet train and the French TGV.[122] Regarding punctuality, it is second in the world (98.54% on-time arrival) after the Japanese Shinkansen (99%).[123] Should the aims of the ambitious AVE programme (Spanish high speed trains) be met, by 2020 Spain will have 7,000 km (4,300 mi) of high-speed trains linking almost all provincial cities to Madrid in less than three hours and Barcelona within four hours.

Water supply and Sanitation in Spain is characterised by universal access and generally good service quality, while tariffs are among the lowest in the EU.[124] Almost half of the population is served by private or mixed private-public water companies, which operate under concession contracts with municipalities. The largest of the private water companies, with a market share of about 50% of the private concessions, is Aguas de Barcelona (Agbar). However, the large cities are all served by public companies except Barcelona and Valencia. The largest public company is Canal de Isabel II, which serves the metropolitan area of Madrid.

Droughts affect water supply in Southern Spain, which increasingly is turning towards seawater desalination to meet its water needs.

Valencia. The Mediterranean coast is the most densely inhabited area in Spain.

In 2008 the population of Spain officially reached 46 million people, as recorded by the Padrón municipal (Spain's Municipal Register).[125] Spain's population density, at 91/km² (235/sq mi), is lower than that of most Western European countries and its distribution across the country is very unequal. With the exception of the region surrounding the capital, Madrid, the most populated areas lie around the coast. The population of Spain more than doubled since 1900, when it stood at 18.6 million, principally due to the spectacular demographic boom in the 1960s and early 1970s.[126]

Native Spaniards make up 88% of the total population of Spain. After the birth rate plunged in the 1980s and Spain's population growth rate dropped, the population again trended upward, based initially on the return of many Spaniards who had emigrated to other European countries during the 1970s, and more recently, fuelled by large numbers of immigrants who make up 12% of the population. The immigrants originate mainly in Latin America (39%), North Africa (16%), Eastern Europe (15%), and Sub-Saharan Africa (4%).[127] In 2005, Spain instituted a three-month amnesty programme through which certain hitherto undocumented aliens were granted legal residency.

In 2008, Spain granted citizenship to 84,170 persons, mostly to people from Ecuador, Colombia and Morocco.[128] A sizeable portion of foreign residents in Spain also comes from other Western and Central European countries. These are mostly British, French, German, Dutch, and Norwegian. They reside primarily on the Mediterranean coast and the Balearic islands, where many choose to live their retirement or telecommute.

Substantial populations descended from Spanish colonists and immigrants exist in other parts of the world, most notably in Latin America. Beginning in the late 15th century, large numbers of Iberian colonists settled in what became Latin America and at present most white Latin Americans (who make up about one-third of Latin America's population) are of Spanish or Portuguese origin. Around 240,000 Spaniards emigrated in the 16th century, mostly to Peru and Mexico.[129] Another 450,000 left in the 17th century.[130] Between 1846 and 1932 it is estimated that nearly 5 million Spaniards emigrated to the Americas, especially to Argentina and Brazil.[131] Approximately two million Spaniards migrated to other Western European countries between 1960 and 1975. During the same period perhaps 300,000 went to Latin America.[132]

The Spanish Constitution of 1978, in its second article, recognises historic entities—nationalities (a carefully chosen word to avoid the more politically charged "nations")—and regions, within the context of the Spanish nation. For some people, Spain's identity consists more of an overlap of different regional identities than of a sole Spanish identity. Indeed, some of the regional identities may even conflict with the Spanish one. Distinct traditional regional identities within Spain include the Basques, Catalans, Galicians, Andalusians and Valencians,[139] although to some extent all of the 17 Autonomous Communities will claim a distinct historic identity.

It is this last feature of "shared identity" between the more local level or Autonomous Community and the Spanish level which makes the identity question in Spain complex and far from univocal.

According to the CIAWorld Factbook (2011), Spain's racial description is presented as "composite of Mediterranean and Nordic types" under "ethnic groups" instead of the usual breakdown of ethnic composition.[140]

Minority groups

Spain has a number of descendants of populations from former colonies, especially Latin America and North Africa. Smaller numbers of immigrants from several Sub-Saharan countries have recently been settling in Spain. There are also sizeable numbers of Asian immigrants, most of whom are of Middle Eastern, South Asian and Chinese origin. The single largest group of immigrants are European; represented by large numbers of Britons, Germans, French and others.[141]

The arrival of the gitanos, a Romani people, began in the 16th century; estimates of the Spanish Gitano population fluctuate around 700,000.[142] There are also the mercheros (also quinquis), a formerly nomadic minority group. Their origin is unclear.

Historically, Sephardi Jews and moriscos are the main minority groups originated in Spain and with a contribution to Spanish culture.[143] The Spanish government is offering Spanish nationality to sephardi Jews.[144]

Marbella, Málaga, where Britons—who are the third biggest immigrant community in Spain—reside in large numbers.

According to the Spanish government there were 5.7 million foreign residents in Spain in 2011, or 12% of the total population. According to residence permit data for 2011, more than 860,000 were Romanian, about 770,000 were Moroccan, approximately 390,000 were British, and 360,000 were Ecuadorian.[145] Other sizeable foreign communities are Colombian, Bolivian, German, Italian, Bulgarian, and Chinese. There are more than 200,000 migrants from Sub-Saharan Africa living in Spain, principally Senegaleses and Nigerians.[146] Since 2000, Spain has experienced high population growth as a result of immigration flows, despite a birth rate that is only half the replacement level. This sudden and ongoing inflow of immigrants, particularly those arriving illegally by sea, has caused noticeable social tension.[147]

Within the EU, Spain had the 2nd highest immigration rate in percentage terms after Cyprus, but by a great margin, the highest in absolute numbers, up to 2008.[148] The number of immigrants in Spain had grown up from 500,000 people in 1996 to 5.2 million in 2008 out of a total population of 46 million.[149][150] In 2005 alone, a regularisation programme increased the legal immigrant population by 700,000 people.[151] There are a number of reasons for the high level of immigration, including Spain's cultural ties with Latin America, its geographical position, the porosity of its borders, the large size of its underground economy and the strength of the agricultural and construction sectors, which demand more low cost labor than can be offered by the national workforce.

Another statistically significant factor is the large number of residents of EU origin typically retiring to Spain's Mediterranean coast. In fact, Spain was Europe's largest absorber of migrants from 2002 to 2007, with its immigrant population more than doubling as 2.5 million people arrived.[152] In 2008, prior to the onset of the economic crisis, the Financial Times reported that Spain was the most favored destination for Western Europeans considering a move from their own country and seeking jobs elsewhere in the EU.[153]

In 2008, the government instituted a "Plan of Voluntary Return" which encouraged unemployed immigrants from outside the EU to return to their home countries and receive several incentives, including the right to keep their unemployment benefits and transfer whatever they contributed to the Spanish Social Security.[154] The programme had little effect; during its first two months, just 1,400 immigrants took up the offer.[155] What the programme failed to do, the sharp and prolonged economic crisis has done from 2010 to 2011 in that tens of thousands of immigrants have left the country due to lack of jobs. In 2011 alone, more than half a million people left Spain.[156] For the first time in decades the net migration rate was expected to be negative, and nine out of 10 emigrants were foreigners.[156]

Spain is openly multilingual,[157] and the constitution establishes that the nation will protect "all Spaniards and the peoples of Spain in the exercise of human rights, their cultures and traditions, languages and institutions.[158]

Spanish (español)—officially recognised in the constitution as Castilian (castellano)—is the official language of the entire country, and it is the right and duty of every Spaniard to know the language. The constitution also establishes that "all other Spanish languages"—that is, all other languages of Spain—will also be official in their respective autonomous communities in accordance to their Statutes, their organic regional legislations, and that the "richness of the distinct linguistic modalities of Spain represents a patrimony which will be the object of special respect and protection."[159]

In the North African Spanish autonomous city of Melilla, Riff Berber is spoken by a significant part of the population. In the tourist areas of the Mediterranean coast and the islands, English and German are widely spoken by tourists, foreign residents, and tourism workers.[162]

State education in Spain is free and compulsory from the age of six to sixteen. The current education system was established by the 2006 educational law, LOE (Ley Orgánica de Educación), or Fundamental Law for the Education.[163] In 2014, the LOE was partially modified by the newer LOMCE law (Ley Orgánica para la Mejora de la Calidad Educativa), or Fundamental Law for the Improvement of the Education System, commonly called Ley Wert (Wert Law).[164] Since 1970 to 2014, Spain has had seven different educational laws (LGE, LOECE, LODE, LOGSE, LOPEG, LOE and LOMCE).[165]

Roman Catholicism has long been the main religion of Spain, and although it no longer has official status by law, in all public schools in Spain students have to choose either a religion or ethics class, and Catholicism is the only religion officially taught. According to an April 2014 study by the Spanish Centre for Sociological Research about 69% of Spaniards self-identify as Catholics, 2% other faith, and about 26% identify with no religion. Most Spaniards do not participate regularly in religious services. This same study shows that of the Spaniards who identify themselves as religious, 59% hardly ever or never go to church, 15% go to church some times a year, 8% some time per month and 14% every Sunday or multiple times per week.[166] Recent polls and surveys have revealed that atheists comprise anywhere from 8% to 20% of the Spanish population.[167][168]

Altogether, about 22% of the entire Spanish population attends religious services at least once per month.[169] Though Spanish society has become considerably more secular in recent decades, the influx of Latin American immigrants, who tend to be strong Catholic practitioners, has helped the Catholic Church to recover.

A study made by the Union of Islamic Communities of Spain demonstrated that there were about 1,700,000 inhabitants of Muslim background living in Spain as of 2012[update], accounting for 3-4% of the total population of Spain. The vast majority was composed of immigrants and descendants originating from Morocco and other African countries. More than 514,000 (30%) of them had Spanish nationality.[172]

The recent waves of immigration have also led to an increasing number of Hindus, Buddhists, Sikhs and Muslims. After the Reconquista in 1492, Muslims did not live in Spain for centuries. Late 19th-century colonial expansion in northwestern Africa gave a number of residents in Spanish Morocco and Western Sahara full citizenship. Their ranks have since been bolstered by recent immigration, especially from Morocco and Algeria.

Judaism was practically non-existent in Spain from the 1492 expulsion until the 19th century, when Jews were again permitted to enter the country. Currently there are around 62,000 Jews in Spain, or 0.14% of the total population. Most are arrivals in the past century, while some are descendants of earlier Spanish Jews. Approximately 80,000 Jews are thought to have lived in Spain prior to its expulsion.[173]

Culturally, Spain is a Western country. Almost every aspect of Spanish life is permeated by its Roman heritage, making Spain one of the major Latin countries of Europe. Spanish culture is marked by strong historic ties to Catholicism, which played a pivotal role in the country's formation and subsequent identity. Spanish art, architecture, cuisine, and music has been shaped by successive waves of foreign invaders, as well as by the country's Mediterranean climate and geography. The centuries-long colonial era globalized Spanish language and culture, with Spain also absorbing the cultural and commercial products of its diverse empire.

The earliest recorded examples of vernacular Romance-based literature date from the same time and location, the rich mix of Muslim, Jewish, and Christian cultures in Muslim Spain, in which Maimonides, Averroes, and others worked, the Kharjas (Jarchas).

The group that has become known as the Generation of 1898 was marked by the destruction of Spain's fleet in Cuba by US gunboats in 1898, which provoked a cultural crisis in Spain. The "Disaster" of 1898 led established writers to seek practical political, economic, and social solutions in essays grouped under the literary heading of Regeneracionismo. For a group of younger writers, among them Miguel de Unamuno, Pío Baroja, and José Martínez Ruiz (Azorín), the Disaster and its cultural repercussions inspired a deeper, more radical literary shift that affected both form and content. These writers, along with Ramón del Valle-Inclán, Antonio Machado, Ramiro de Maeztu, and Ángel Ganivet, came to be known as the 'Generation of 98'.

The Generation of 1914 or Novecentismo. The next supposed "generation" of Spanish writers following those of '98 already calls into question the value of such terminology. By the year 1914—the year of the outbreak of the First World War and of the publication of the first major work of the generation's leading voice, José Ortega y Gasset—a number of slightly younger writers had established their own place within the Spanish cultural field.

The Generation of 1927, where poets Pedro Salinas, Jorge Guillén, Federico García Lorca, Vicente Aleixandre, Dámaso Alonso. All were scholars of their national literary heritage, again evidence of the impact of the calls of regeneracionistas and the Generation of 1898 for Spanish intelligence to turn at least partially inwards.

Artists from Spain have been highly influential in the development of various European artistic movements. Due to historical, geographical and generational diversity, Spanish art has known a great number of influences. The Moorish heritage in Spain, especially in Andalusia, is still evident today and European influences include Italy, Germany and France, especially during the Baroque and Neoclassical periods.

Due to its historical and geographical diversity, Spanish architecture has drawn from a host of influences. An important provincial city founded by the Romans and with an extensive Roman era infrastructure, Córdoba became the cultural capital, including fine Arabic style architecture, during the time of the Islamic Umayyad dynasty.[177] Later Arab style architecture continued to be developed under successive Islamic dynasties, ending with the Nasrid, which built its famed palace complex in Granada.

Simultaneously, the Christian kingdoms gradually emerged and developed their own styles; developing a pre-Romanesque style when for a while isolated from contemporary mainstream European architectural influences during the earlier Middle Ages, they later integrated the Romanesque and Gothic streams. There was then an extraordinary flowering of the Gothic style that resulted in numerous instances being built throughout the entire territory. The Mudéjar style, from the 12th to 17th centuries, was developed by introducing Arab style motifs, patterns and elements into European architecture.

Spanish music is often considered abroad to be synonymous with flamenco, a West Andalusian musical genre, which, contrary to popular belief, is not widespread outside that region. Various regional styles of folk music abound in Aragon, Catalonia, Valencia, Castile, the Basque Country, Galicia and Asturias. Pop, rock, hip hop and heavy metal are also popular.

Thousands of music fans also travel to Spain each year for internationally recognised summer music festivals Sónar which often features the top up and coming pop and techno acts, and Benicàssim which tends to feature alternative rock and dance acts.[178] Both festivals mark Spain as an international music presence and reflect the tastes of young people in the country.

Spanish cuisine consists of a great variety of dishes which stem from differences in geography, culture and climate. It is heavily influenced by seafood available from the waters that surround the country, and reflects the country's deep Mediterranean roots. Spain's extensive history with many cultural influences has led to a unique cuisine. In particular, three main divisions are easily identified:

Mediterranean Spain – all such coastal regions, from Catalonia to Andalusia – heavy use of seafood, such as pescaíto frito (fried fish); several cold soups like gazpacho; and many rice-based dishes like paella from Valencia[180] and arròs negre (black rice) from Catalonia.[181]

Inner Spain – Castile – hot, thick soups such as the bread and garlic-based Castilian soup, along with substantious stews such as cocido madrileño. Food is traditionally conserved by salting, like Spanish ham, or immersed in olive oil, like Manchego cheese.

Rafael Nadal is the leading Spanish tennis player and has won several Grand Slam titles including the Wimbledon 2010 men's singles. In north Spain, the game of pelota is very popular. Alberto Contador is the leading Spanish cyclist and has won several Grand Tour titles including two Tour de France titles.

There are many festivals and festivities in Spain. Some of them are known worldwide, and every year millions of people from all over the world go to Spain to experience one of these festivals. One of the most famous is San Fermín, in Pamplona. While its most famous event is the encierro, or the running of the bulls, which happens at 8:00 am from 7 to 14 July, the week-long celebration involves many other traditional and folkloric events. Its events were central to the plot of The Sun Also Rises, by Ernest Hemingway, which brought it to the general attention of English-speaking people. As a result, it has become one of the most internationally renowned fiestas in Spain, with over 1,000,000 people attending every year.

The Spanish Constitution does not establish any official name for Spain, even though the terms España (Spain), Estado español (Spanish State) and Nación española (Spanish Nation) are used throughout the document. Nonetheless, the Spanish Ministry of Foreign Affairs established in an ordinance published in 1984 that the denominations España (Spain) and Reino de España (Kingdom of Spain) are equally valid to designate Spain in international treaties. This term, Kingdom of Spain, is widely used by the government in national and international affairs of all kinds, including foreign treaties as well as national official documents, and is therefore recognised as the official name by many international organisations.[1]

In Spain, other languages have been officially recognised as legitimate autochthonous (regional) languages under the European Charter for Regional or Minority Languages. In each of these, Spain's official name (Spanish: Reino de España, pronounced: [ˈreino ð(e) esˈpaɲa]) is as follows:

Aragonese: Reino d’Espanya, IPA: [ˈreino ðesˈpaɲa]

Asturian: Reinu d’España, IPA: [ˈreinu ðesˈpaɲa]

Basque: Espainiako Erresuma, IPA: [es̺paɲiako eres̺uma]

Catalan: Regne d’Espanya, IPA: [ˈreŋnə ðəsˈpaɲə]

Valencian: [ˈreŋne ðesˈpaɲa]

Galician: Reino de España, IPA: [ˈreino ð(e) esˈpaɲa]

Occitan: Reiaume d’Espanha, IPA: [reˈjawme ðesˈpaɲɔ]

The official Spanish language of the State is established in the Section 3 of the Spanish Constitution of 1978 to be Castilian.[3] In some autonomous communities, Catalan, Galician and Basque are co-official languages. Aragonese and Asturian have some degree of official recognition.

European Union (EU) since 1993.

As of July 2015, Spain's population was 46,439,864. In the same month the number of citizens with Spanish citizenship reached 41,996,253. The number of foreigners (i.e. immigrants, ex-pats and refugees) permanently living in Spain was estimated to be at 4,426,811 (9.54%) in 2015.[5]

The Peseta before 2002.

The .eu domain is also used, as it is shared with other European Union member states. Also, the .cat domain is used in Catalan-speaking territories.

The latifundia (sing., latifundium), large estates controlled by the aristocracy, were superimposed on the existing Iberian landholding system.

The poets Martial, Quintilian and Lucan were also born in Hispania.

The Berbers soon gave up attempting to settle the harsh lands in the north of the Meseta Central (Inner Plateau) handed to them by the Arab rulers.

For the related expulsions that followed see Morisco.

The Berbers soon gave up attempting to settle the harsh lands in the north of the Meseta Central (Inner Plateau) handed to them by the Arab rulers.

Typical Aurignacian items were found in Cantabria (Morín, El Pendo, El Castillo), the Basque Country (Santimamiñe) and Catalonia. The radiocarbon datations give the following dates: 32,425 and 29,515 BP.[not in citation given][

Lewis, Bernard (1984). The Jews of Islam. Princeton: Princeton University Press. p. 62. ISBN 978-0-691-00807-3. Dhimmi have fewer legal and social rights than Muslims, but more rights than other non-Muslims.

UK Secretary of State for Foreign and Commonwealth Affairs (1999). "Partnership for Progress and Prosperity: Britain and the Overseas Territories. Appendix 1: Profiles for Cayman Islands, Falkland Islands & Gibraltar" (PDF). Partnership for Progress and Prosperity: Britain and the Overseas Territories. Archived from the original (PDF) on 13 December 2005. Retrieved 19 December 2005.

"Avance del Padrón Municipal a 1 de enero de 2006. Datos provisionales" (PDF). Instituto Nacional de Estadística. Archived from the original (PDF) on 26 July 2008. Retrieved 13 August 2008. and "Spain: Immigrants Welcome". Business Week. Retrieved 13 August 2008. and "Immigrants Fuel Europe's Civilization Clash". MSNBC. Archived from the original on 13 May 2008. Retrieved 13 August 2008. and "Spanish youth clash with immigrant gangs". International Herald Tribune. Retrieved 13 August 2008.