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.
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.
Philip V, the first Bourbon king, of French origin, signed the Decreto de Nueva Planta in 1715, a new law that revoked most of the historical rights and privileges of the different kingdoms that conformed the Spanish Crown, unifying them under the laws of Castile, where the Cortes had been more receptive to the royal wish. Spain became culturally and politically a follower of France. The rule of the Spanish Bourbons continued under Ferdinand VI and Charles III. His son Carlos IV was truly incompetent (some say mentally handicapped), and under his reign Spain fell to the armies of Napoleon.
The original peoples of the Iberian peninsula (in the sense that they are not known to have come from elsewhere), consisting of a number of separate tribes, are given the generic name of Iberians. This may have included the Basques, the only pre-Celtic people in Iberia surviving to the present day as a separate ethnic group. The most important culture of this period is that of the city of Tartessos. Beginning in the 9th century BC, Celtic tribes entered the Iberian peninsula through the Pyrenees and settled throughout the peninsula, becoming the Celt-Iberians.
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.
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.
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.
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.
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.
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 crown jewel of Spain's next decade of infrastructure construction is the Spanish high speed rail network, Alta Velocidad Española AVE. Currently, an ambitious plan includes the construction of a 7000 km network, centered naturally on Madrid. The overall goal is to have all important provincial cities be no more than 4 hours away from Madrid, and no more than 6 hours away from Barcelona. Currently, AVE high-speed trains link Atocha station to Seville in the south and Lleida in the east (to be extended to Barcelona).
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.