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.
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 20th century initially brought little peace; colonisation of Western Sahara, Spanish Morocco and Equatorial Guinea was attempted as a substitute for the loss of the Americas. A period of dictatorial rule (1923-1931) ended with the establishment of the Second Spanish Republic. The Republic offered political autonomy to the Basque Country and Catalonia and gave voting rights to women. However, with increasing political polarisation and pressure from all sides, coupled with growing and unchecked political violence, the Republic ended with the outbreak of the Spanish Civil War in July 1936. Following the victory of the nationalist forces in 1939, General Francisco Franco ruled a nation exhausted politically and economically until his death in 1975.
The Complutense University is one of the oldest universities in the world, as well as the largest and (after Salamanca) most prestigious in Spain. It has 10000 staff and a student population of 117 000. It is located on two campuses, in the university quarter Ciudad Universitaria at Moncloa in Madrid, and in Somosaguas.
As the Roman empire declined, the Suebi, Vandals and Alans each took control of part of Hispania. In the 5th century AD the Visigoths, a romanized germanic tribe, conquered all of Hispania and established a relatively stable kingdom lasting until 711, when it fell to an invasion by Islamic North African Moors and became part of the expanding Umayyad empire, under the name of Al-Andalus. When the Umayyad empire gave way to the Abbaside empire, an Umayyad exile established the Caliphate of Cordoba, effectively making Al-Andalus independent from the empire.
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.
Madrid is home to Real Madrid, the world's most successful football club (according to FIFA). There are three other major teams, the Primera Division club Atlético de Madrid, Getafe Club de Futbol and Rayo Vallecano.
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.
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.
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 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).