Through a policy of alliances with other European nobility and the conquest of most of South America and the West Indies, Spain began to establish itself as an empire. The Treaty of Tordesillas, negotiated by Pope Alexander VI between Portugal and Spain, effectively divided up the non-European world between these two budding empires. Massive amounts of gold and silver were imported from the New World into Spain's coffers. However, in the long run this hurt the Spanish economy much more than it helped it. The bullion caused high inflation rates, which undermined the value of Spain's currency. Additionally, Spain became dependent on her colonies for income, and when Queen Elizabeth I of England began to capture Spanish vessels on the way to and from the New World, Spain suffered massive economic losses. These effects, combined with the expulsion of Spain's most economically vital classes in the late 15th century (the Jews and the Moors), caused Spain's economy to collapse several times in the 16th century, bringing the Golden Age of Spain to a close.
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.
After the fall of the Roman Empire, Germanic tribes invaded the former empire, several turned sedentary and created successor-kingdoms to the Romans in various parts of Europe. Iberia was taken over by the Visigoths after 410.In the Iberian peninsula, as elsewhere, the Empire fell not with a bang but with a whimper. Rather than there being any convenient date for the "fall of the Roman Empire" there was a progressive "de-Romanization" of the Western Roman Empire in Hispania and a weakening of central authority, throughout the 3rd, 4th and 5th centuries. At the same time, there was a process of "Romanization" of the Germanic and Hunnic tribes settled on both sides of the limes (the fortified frontier of the Empire along the Rhine and Danube rivers). The Visigoths, for example, were converted to Arian Christianity around 360, even before they were pushed into imperial territory by the expansion of the Huns. In the winter of 406, taking advantage of the frozen Rhine, the (Germanic) Vandals and Sueves, and the (Asiatic) Alans invaded the empire in force. Three years later they crossed the Pyrenees into Iberia and divided the Western parts, roughly corresponding to modern Portugal and western Spain as far as Madrid, between them. The Visigoths meanwhile, having sacked Rome two years earlier, arrived in the region in 412 founding the Visigothic kingdom of Toulouse (in the south of modern France) and gradually expanded their influence into the Iberian peninsula at the expense of the Vandals and Alans, who moved on into North Africa without leaving much permanent mark on Hispanic culture. The Visigothic kingdom shifted its capital to Toledo and reached a high point during the reign of Leovigild, treated in some detail at its own entry.
With the approval of the Spanish Constitution of 1978 and the arrival of democracy, the old historic nationalities — Basque Country, Catalonia, Galicia and Andalusia— were given far-reaching autonomy, which was then soon extended to all Spanish regions, resulting in one of the most decentralized territorial organizations in Western Europe.
Spain was part of the Roman Empire and many areas of Spain retain significant Roman architectural remnants. The Roman aqueduct at Segovia is still in use as of 2004; Mérida, now the Extermaduran capital but once the capital of the Roman province of Lusitania, retains over 5 miles of its Roman aqueduct, Roman bridge over the River Guadiana, an arch of Trajan, and significant remnants of a Roman forum, amphitheatre, and a temple popularly accounted to have been dedicated to Diana (goddess). Another Roman bridge crosses the Tagus River at Alcántara. Lesser Roman ruins can be found in the heart of Barcelona.
Spanish rule in Morocco ended in 1956. Though militarily victorious in the 1957-1958 Moroccan invasion of Spanish West Africa, Spain gradually relinquished its remaining African colonies. Spanish Guinea was granted independence as Equatorial Guinea in 1968, while the Moroccan enclave of Ifni had been ceded to Morocco in 1969.
The dry weather of Spain resulted in the importance of water fountains in Spanish urban design. In addition, ceramics figure prominently in architecture throughout Spain, especially in the tile roofs and the use of decorative tiles known as azulejos.
In the 1960s, more than a decade later than other western European countries, Spain began to enjoy economic growth and gradually transformed into a modern industrial economy with a thriving tourism sector. Growth continued well into the 1970s, with Franco's government going to great lengths to shield the Spanish people from the effects of the oil crisis.
The most well-known variety of Spanish folk music is likely flamenco, a diverse genre created by Andalusian Roma. Flamenco is known since at least the 1770s, and has been through several cycles of dwindling popularity and rebirth. The style has produced many of the most famous Spanish musicians, including singer Camarón de la Isla and guitarist Carlos Montoya. Outside of flamenco, regional Spanish folk music includes the distinct Basque trikitrixa and accordion music, Galician and Asturian gaita (bagpipe) and Aragonese jota. Though some folk traditions have died out or are moribund, some retain great popularity and have been modernized and adapted to new instruments, styles and formats. These include the popular Celtic music of Galicia, the singer-songwriter tradition of nova canço and New Flamenco.
The Napoleonic invasion gave the opportunity to the American colonies, led by Libertadores, to claim their independence. Between 1810 and 1824, Chile, Colombia, Ecuador, Venezuela, and the other colonies declared and won their independence. The only New World colonies Spain was left with were the islands of Cuba and Puerto Rico. The Allies fought Napoleon's forces in the Peninsular War, with Joseph Bonaparte ruling as king at Madrid. In 1812 the Cortes took refuge at Cádiz and created the first modern Spanish constitution, the Constitution of 1812 (informally named La Pepa).
Madrid, the capital of Spain, is located in the center of the country. Population of the city of Madrid proper was 3,093,000 as of 2003 estimates.
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 is considered by many, including a large part of Spanish population, to be a group of nations unified under a single State, much like Belgium, Switzerland or the United Kingdom. Despite this, the policy of many Spanish governments has led to a "Spanish nationhood" which is the one people identify with Spain internationally.