Spanish rule in Morocco ended in 1956. Though militarily victorious in the 1957-1958 Moroccan invasion of Spanish West Africa, Spain gradually relinquished its remaining African colonies. Spanish Guinea was granted independence as Equatorial Guinea in 1968, while the Moroccan enclave of Ifni had been ceded to Morocco in 1969.
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.
Philip V, the first Bourbon king, of French origin, signed the Decreto de Nueva Planta in 1715, a new law that revoked most of the historical rights and privileges of the different kingdoms that conformed the Spanish Crown, unifying them under the laws of Castile, where the Cortes had been more receptive to the royal wish. Spain became culturally and politically a follower of France. The rule of the Spanish Bourbons continued under Ferdinand VI and Charles III. His son Carlos IV was truly incompetent (some say mentally handicapped), and under his reign Spain fell to the armies of Napoleon.
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 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.
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.
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 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).
In order to understand the political forces and debates in Spain we have to consider two dimensions: the Right vs. Left dimension and the Nation State vs. Plurinational State dimension. The political parties agendas and the individual citizens opinions can only understood when situated on both dimensions. The Constitution of the Kingdom of Spain states that 1) it is a Nation and 2) that it is formed by Nationalities and Regions. This statement is a contradiction (since Nationality and Nation essentially mean the same thing in political theory), but it was an agreement that struck a balance between the political parties advocating the nation state and those advocating the plurinational state. The territorial organization of Spain into Autonomous Communities of Spain is the administrative realization of this constitutional balancing act.
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.
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.
Spain is considered by many, including a large part of Spanish population, to be a group of nations unified under a single State, much like Belgium, Switzerland or the United Kingdom. Despite this, the policy of many Spanish governments has led to a "Spanish nationhood" which is the one people identify with Spain internationally.