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.
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.
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).
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.
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.
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.