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.
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.
The expulsion of the Muslims was reputedly started by the first King of Asturias, named Pelayo (718-737), who started his fight against the Moors in the mountains of Covadonga (722). Later, his sons and descendants continued with his work until all of the Muslims were expelled. Meanwhile, in the east of the peninsula the Frankish emperors established the Marca Hispanica across the Pyrenees in part of what today is Catalonia, reconquering Girona in 785 and Barcelona in 801. It was a buffer zone against Islam.
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.
Historically, various regions of Spain had quite distinct regional dress. Today, most people in Spain dress in a manner comparable to most other contemporary Europeans, although some regional variations persist. Dress in Extremadura and in the smaller cities of Castile remains relatively austere, even on festive occasions, while Andaluz dress on festive occasions is elaborate and ostentatious. Barcelona is one of the most stylish cities in Europe, though more restrained and with a more determinedly timeless style than Paris or Milan.
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 original peoples of the Iberian peninsula (in the sense that they are not known to have come from elsewhere), consisting of a number of separate tribes, are given the generic name of Iberians. This may have included the Basques, the only pre-Celtic people in Iberia surviving to the present day as a separate ethnic group. The most important culture of this period is that of the city of Tartessos. Beginning in the 9th century BC, Celtic tribes entered the Iberian peninsula through the Pyrenees and settled throughout the peninsula, becoming the Celt-Iberians.
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.
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.
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.
Roman Catholicism is, by far, the most popular religion in the country, with four in five Spaniards (80%) self-identifying as Catholics. The next group (one in eight, or 12%) is represented by atheists or agnostics. Minority religions account for one in seventy (1.4%) of all Spaniards.