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.
In 1898 Spain lost the Spanish-American War. Cuba gained its independence, and Spain lost its remaining New World colonies—Guam, the Philippines, and Puerto Rico—to the United States. Spain's colonial possessions were reduced to Spanish Morocco, Western Sahara and Equatorial Guinea.
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.
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.
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.
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.
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.
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.
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 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.
Spain never entered the period of the Dark Ages such as were endured in Britain, Gaul, Lombardy and Germany. The Visigoths tended to maintain more of the old Roman institutions, and they had a unique respect for legal codes that resulted in continuous frameworks and historical records for most of the period between 415, when Visigothic rule in Spain began, and 711, when it is traditionally said to end. The proximity of the Visigothic kingdoms to the Mediterranean and the continuity of western Mediterranean trade, though in reduced quantity, supported Visigothic culture. Arian Visigothic nobility kept apart from the local Catholic population. The Visigoth ruling class looked to Constantinople for style and technology while the rivals of Visigothic power and culture were the Catholic bishops— and a brief incursion of Byzantine power in Cordoba.