Throughout a topsy-turvy history of political ups and downs, prosperity rarely abandoned Barcelona, as the city continued to generate energy and creativity no matter who imposed authority from afar: Romans, Visigoths, Franks, Moors, Aragonese, French, or Castilians. Catalonia's early history hinges on five key dates: the 801 Frankish conquest by Charlemagne that wrested Catalonia away from the encroaching Moors; the 988 independence from the Franks; the 1137 alliance through marriage with Aragón; the 1474 unification (through the marriage of Fernando of Aragón and Isabella of Castile) of Aragón with the Castilian realms of León and Castile; and the 1714 defeat by Felipe V, who abolished Catalan rights and privileges.
The Roman Empire annexed the city built by the Iberian tribe known as the Laietans and established, in 133 BC, a colony called Colonia Favencia Julia Augusta Paterna Barcino ("Favored Colony Barcino of Father Julius Augustus"). After Rome's 4th-century decline, Barcelona enjoyed an early golden age as the Visigothic capital under the rule of Ataulf and the Roman empress of the West, Galla Placidia (388-450), daughter of Theodosius I and one of the most influential and fascinating women of early European history. Ataulf, assassinated in Barcelona in 415, was succeeded by Visigothic rulers who moved their capital to Toledo, leaving Barcelona to a secondary role through the 6th and 7th centuries. The Moors invaded in the 8th century; and in 801, in what was to be a decisive moment in Catalonia's history, the Franks under Charlemagne captured the city and made it a buffer zone at the edge of Al-Andalus, the Moors' empire on the Iberian Peninsula. Moorish rule extended to the Garraf Massif just south of Barcelona, while Catalonia became the Marca Hispánica (Spanish March or, really, "edge") of the Frankish empire.
Over the next two centuries the Catalonian counties, ruled by counts appointed by the Franks, gained increasing autonomy. In 985 the Franks failed to reinforce their allies against a Moorish attack, and, as of 988, Catalonia declared itself an independent federation of counties with Barcelona as its capital. The marriage, in 1137, of Sovereign Count Ramon Berenguer IV to Petronella, daughter of King Ramiro II of Aragón, united Catalonia with Aragón. The crown of Aragón, with Barcelona as its commercial and naval center, controlled the Mediterranean until the 15th century. The 1474 marriage of Ferdinand II of Aragón and Isabella of Castile and León brought Aragón and Catalonia into a united Spain. As the main city of Aragón's Mediterranean empire, Barcelona had grown in importance between the 12th and the 14th centuries, and only began to falter when maritime emphasis shifted to the Atlantic after 1492.
Despite the establishment of Madrid as the seat of Spain's royal court in 1562, Catalonia continued to enjoy autonomous rights and privileges until 1714, when, in reprisal for having backed the Austrian Habsburg pretender to the Spanish throne during the War of the Spanish Succession (1700-14), all institutions and expressions of Catalan identity were suppressed by the triumphant Felipe V of the French Bourbon dynasty. Not until the mid-19th century would Barcelona's industrial growth bring about a Renaixença (renaissance) of nationalism and a cultural flowering that recalled Catalonia's former opulence.
Barcelona's power and prosperity continued to grow in the early 20th century. After the abdication of Alfonso XIII and the establishment of the Second Spanish Republic in 1931, Catalonia enjoyed a high degree of autonomy and cultural freedom. Once again backing a losing cause, Barcelona was a Republican stronghold during the Spanish civil war. When the war ended, Catalan language and identity were once again brutally suppressed by such means as book burning, the renaming of streets and towns, and the banning of the Catalan language in schools and in the media. This repression or "internal exile" lasted until Franco's death in 1975, when it became evident that the Catalans had once again, more stubbornly than ever, managed to keep their language and culture alive. Catalonian home rule was granted after Franco's death in 1975, and Catalonia's parliament, the ancient Generalitat, was reinstated in 1980. Catalan is now Barcelona's co-official language, along with Castilian Spanish. Street names are signposted in Catalan, and newspapers, radio stations, and a TV channel publish and broadcast in Catalan. The culmination of this rebirth was the staging of the Olympics in 1992 -- ring roads were constructed, new harborside promenades were created, and Catalonia announced its existence and national identity to the world. The urban renewal for the Olympics under Mayor Pasqual Maragall (later president of the Generalitat) was just the beginning. Mayor Joan Clos, with the 2004 Fòrum Universal de les Cultures, engineered the new Diagonal-Mar development, stretching from Plaça de les Glòries to the mouth of the Besòs River and populated with Jean Nouvel, Oscar Tusquets, and Herzog & de Meuron buildings that keep architecture students on a perennial field trip.
Catalonia's controversial new Autonomy Statute, approved in 2006 under the Socialist government of José Luis Rodríguez Zapatero, placed still more power in local hands. Although there are now varying degrees of Catalonian nationalism in play ranging from radical pro-independence militants to conservative Spain-firsters, most Catalans today think of themselves as Catalans first and Spanish citizens second.
Learning a few Catalan phrases will give you a much warmer reception than the usual Spanish. A friendly "bon dia" (good day) goes a long ways.