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.
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 first governments of the Republic, were center-left, headed by Niceto Alcalá-Zamora, and Manuel Azaña. In 1933, the right-wing CEDA won power; an armed rising of workers of October 1934, which reached its greatest intensity in Asturias and Catalonia, was forcefully put down by the CEDA government.
Spain suffered a shocking terrorist attack, the March 11, 2004 Madrid attacks on its capital's commuter train network, killing 200. Al-Qaeda has been blamed for this attack. Some have attributed the fall of the Aznar government to this attack, which took place just two days before the 2004 elections. At first the public believed ETA was responsible for the bombing. When they learned Al-Qaeda was the true culprit, many voters lashed out at the media and Aznar's government, believing the two had colluded to deceive the public.
Contemporary Madrid came into its own after the death of the Fascist dictator Franco. Years of the Franco regime left Madrid and much the country in economic shambles due to isolation. With his death, Madrid and Spain as a whole began to re-assert itself on the international stage. Within Spain, reaction against the dictatorial bureaucracy centered in Madrid and a history of centralism that pre-dated Franco by centuries has resulted in the successful modern movement towards increased autonomy for the regions of Spain, considered as European regions, under the umbrella of Spain.
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.
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 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.
The Romans arrived in the Iberian peninsula during the Second Punic war in the 2nd century B.C., and annexed it under Augustus after two centuries of war with the Celtic and Iberian tribes and the Phoenician, Greek and Carthaginian colonies becoming the province of Hispania. Some of Spain's present languages, religion, and laws originate from this Roman period.
After World War II, being one of few surviving fascist regimes in Europe, Spain was politically and economically isolated and was kept out of the United Nations until 1955, when it became strategically important for U.S. president Eisenhower to establish a military presence in the Iberian peninsula. This opening to Spain was aided by Franco's rabid anti-communism.
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.
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.
The most important minority group in the country are the Gitanos. Other indigenous minorities are Mercheros (or Quinquis) and Vaqueiros de alzada.- The latter, meaning "Mountain cow-breeders" dwell in mountain ranges in the Principality of Asturias and have kept historically apart from the valley dwellers. Foreign minorities include South Americans from countries like Argentina, Ecuador or Colombia; black Africans; Arabs and Berbers mainly from Morocco and other countries of North Africa; and Asians from China, Japan, Korea, and Vietnam.
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.